Subsets a 'castarter' dataset

SubsetDataset(dataset, terms = NULL, startDate = NULL,
  endDate = NULL, sample = NULL)

Arguments

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.

Value

A dataset in the 'castarter' format.

Examples

# NOT RUN {
SubsetDataset(dataset, terms)
# }