get_covar_prep_function: Pull a specific prep function for an Italy covariate

Description Usage Arguments Value

View source: R/ita_covariate_prep_functions.R

Description

Helper function for prepare_covariate that checks whether a covariate-specific prep function exists yet by searching the package namespace. All covariate-specific prep functions should take the name format "ita_prep_covar_<COVAR NAME>". Errors if the function does not exist; returns the function name if the function does exist.

Usage

1

Arguments

covar_name

Short name for the covariate.

Value

Name of the function to prepare this covariate


njhenry/covidemr documentation built on Feb. 2, 2022, 2:31 a.m.