Subsets a 'castarter' dataset
SubsetDataset(dataset, terms = NULL, startDate = NULL, endDate = NULL, sample = NULL)
dataset | A dataset created with 'castarter'. |
---|---|
terms | A character vector. Only articles including one of these terms are included in the output. |
startDate, | endDate A date in the format YYYY-MM-DD. |
A dataset in the 'castarter' format.
# NOT RUN { SubsetDataset(dataset, terms) # }