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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | codes(x, layer = "cmp_code")
## S3 method for class 'ManifestoDocument'
codes(x, layer = "cmp_code")
## S3 method for class 'ManifestoCorpus'
codes(x, layer = "cmp_code")
codes(x, layer = "cmp_code") <- value
## S3 replacement method for class 'ManifestoDocument'
codes(x, layer = "cmp_code") <- value
code_layers(x)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.