Create the analysis dataset based on the available raw data
Source:R/prepare_analysis_imputation.R
prepare_analysis_imputation.Rd
The analysis dataset is saved to a .rda
file with the SHA-1 as name.
Usage
prepare_analysis_imputation(
speciesgroupspecies,
location,
analysis_path,
raw_repo,
seed = 19790402,
verbose = TRUE
)
Arguments
- speciesgroupspecies
a data.frame with the current species group and the associates species.
- location
a data.frame with the locations and location groups
- analysis_path
Path to store the analysis files. Must be either an existing local file path or an object of the
s3_bucket
class.- raw_repo
a git_repository object to write the output to
- seed
the seed for the random number generator. Defaults to 19790402 which refers to "Council Directive 79/409/EEC of 2 April 1979 on the conservation of wild birds".
- verbose
Display a progress bar when TRUE (default)