Takes a specific set of datasets from existings 'castarter' projects.

LoadDatasets(projectsAndWebsites = NULL, type = "dataset",
  removeNAdates = TRUE, addProjectColumn = FALSE)

Arguments

projectsAndWebsites

A character vector listing websites to be loaded in the format "project/website". If none is given, it will check if project and website have been set with `SetCastarter()`

type

Defines the format in which the dataset will be loaded. Available options are:

  • "dataset": Outputs a 'castarter' dataset as data.frame. This is the default option.

removeNAdates

Logical, defaults to TRUE. If TRUE, dataset items that do not have a date in the records are not imported.

addProjectColumn

Logical, defatults to FALSE. If TRUE, a column with the project name is appended.

Value

A data frame including all loaded datasets.

Examples

# NOT RUN {
projectsAndWebsites <- c("ProjectX/Website1", "ProjectY/Website3", "ProjectZ/Website2")
allDatasets <- LoadDatasets(projectsAndWebsites)
# }