prepare_analysis_imputation: Create the analysis dataset based on the available raw data

Description Usage Arguments Value

Description

The analysis dataset is saved to a rda file with the SHA-1 as name.

Usage

1
2
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)

Value

A data.frame with the species id number of rows in the analysis dataset, number of precenses in the analysis datset and SHA-1 of the analysis dataset or NULL if not enough data.


inbo/watervogelanalysis documentation built on June 19, 2019, 10:51 p.m.