Generate covariate datasets using existing functions.
prepare_covariate_dataset(
name = "all_total",
main = ".",
settings = directory_settings(),
datafile = "Water/eden_covariates.csv",
filename = "counts_all_total.csv",
minyear = 1986,
maxyear = this_year(),
na.strings = "",
regions = "all",
save = TRUE,
overwrite = TRUE,
quiet = FALSE,
verbose = FALSE
)character name of the data set.
character value of the name of the main component of the directory tree.
list of controls for the directory, with defaults set in directory_settings that should generally not need to be altered.
the path to the datafile within the folder for EvergladesWadingBird data
character value of the file for saving the output.
Earliest year to include
Most recent year to include
a character vector of strings which are to be
interpreted as NA values. Blank fields are also
considered to be missing values in logical, integer, numeric and
complex fields. Note that the test happens after
white space is stripped from the input, so na.strings
values may need their own white space stripped in advance.
character vector of the region(s) to include.
logical indicator controlling if the output should be saved out.
logical indicator of whether or not the existing files should be updated (most users should leave as TRUE).
logical indicator if progress messages should be quieted.
logical indicator if detailed messages should be shown.
data.frame for the specified data set.