powered by
Decode either a corpus, or a s-attribute.
decode(.Object, ...)# S4 method for character decode(.Object, sAttribute = NULL, verbose = TRUE)
# S4 method for character decode(.Object, sAttribute = NULL, verbose = TRUE)
the corpus to decode (character vector)
further parameters
the s-attribute to decode
logical
a data.table
data.table
encode
# NOT RUN { use("polmineR.sampleCorpus") # Scenario 1: Decode one s-attribute dt <- decode("PLPRBTTXT", sAttribute = "text_date") # Scenario 2: Decode corpus entirely dt <- decode("PLPRBTTXT") # }
Run the code above in your browser using DataLab