
Last chance! 50% off unlimited learning
Sale ends in
metacorpus(corp, field = NULL)metacorpus(corp, field) <- value
NULL
(default), return all
metadata names.metacorpus
, a list of the metadata fields in the corpus.
If a list is not what you wanted, you can wrap the results in unlist,
but this will remove any metadata field that is set to NULL
. For metacorpus <-
, the corpus with the updated metadata.
metacorpus(inaugCorpus)
metacorpus(inaugCorpus, "source")
metacorpus(inaugCorpus, "citation") <- "Presidential Speeches Online Project (2014)."
metacorpus(inaugCorpus, "citation")
Run the code above in your browser using DataLab