Most users will not want or need to change the directory folders and file names, but it is helpful to have them be flexible for certain circumstances, and this function gathers them into a list for pipeline functionality.

directory_settings(
  files = list(directory_config = "dir_config.yaml", count_dataset_controls =
    "count_dataset_controls.yaml", covariate_dataset_controls =
    "covariate_dataset_controls.yaml"),
  subdirectories = list(forecasts = "forecasts", fits = "fits", models = "models",
    resources = "resources", data = "data"),
  EvergladesWadingBird = list(source = "github", version = "latest"),
  save = TRUE,
  overwrite = TRUE
)

Arguments

files

named character list of the file names (with extensions). Default includes directory_config, count_dataset_controls, covariate_dataset_controls.

subdirectories

named character list of the subdirectory names. Default includes resources, data, models, fits, and forecasts.

EvergladesWadingBird

list with source and version elements that are character values for the source and version of the Everglades Wading Bird to download. Default values retrieve the latest data from github.

See download_observations.

save

logical indicator controlling if the output should be saved out.

overwrite

logical indicator of whether or not the existing files should be updated (most users should leave as TRUE).

Value

Named list of settings for the directory.