codes

0th

Percentile

Access the codes of a Manifesto Document or Corpus

With the accessor the codes of a Manifesto Document can be read and modified. The codes of a Manifesto Corpus can only be read, modification needs to be done document-wise.

codelayers gives a list of the names of the coding layers present in the ManifestoDocument

Usage
codes(x, layer = "cmp_code")

# S3 method for ManifestoDocument codes(x, layer = "cmp_code")

# S3 method for ManifestoCorpus codes(x, layer = "cmp_code")

codes(x, layer = "cmp_code") <- value

# S3 method for ManifestoDocument codes(x, layer = "cmp_code") <- value

code_layers(x)

Arguments
x

document or corpus to get the codes from

layer

layer of codings to access, defaults to cmp_code, alternative: eu_code

value

new codes

Aliases
  • codes
  • codes.ManifestoDocument
  • codes.ManifestoCorpus
  • codes<-
  • codes<-.ManifestoDocument
  • code_layers
Documentation reproduced from package manifestoR, version 1.2.4, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.