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

View source: R/prepare_analysis_imputation.R

prepare_analysis_imputationR Documentation

Create the analysis dataset based on the available raw data

Description

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)

Value

A data.frame with the species id number of rows in the analysis analysis dataset or NULL if not enough data.


inbo/watervogelanalysis documentation built on Oct. 10, 2024, 7:17 a.m.