R/prepare_data.R
prepare-max-count-dataset.Rd
Generate max count annual datasets using existing functions.
prepare_max_counts(
name = "all_total",
main = ".",
settings = directory_settings(),
species = "total",
datafile = "Indicators/max_count_all_total.csv",
filename = "counts_all_total.csv",
minyear = 1986,
maxyear = this_year(),
level = "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.
character
vector of species to include.
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
level at which to summarize (colony, subregion, region, all)
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.