ita_prepare_covar_pop_density: Prepare covariate: population density

Description Usage Arguments Value

Description

Covariate-specific prep function for all-ages population density by Italian province

Usage

1
ita_prepare_covar_pop_density(covar_fp, model_years, location_table, polys_sf)

Arguments

covar_fp

Filepath to the raw covariate

model_years

Vector of years to consider for modeling

location_table

Location code merge table for Italy

polys_sf

[optional] Polygon boundaries

Value

A list of two items: - "prepped_covar": data.table containing the prepped covariate - "covar_indices": Vector of identifiers that should be used to merge onto the modeling dataset. The prepared covariate dataset should only include identifier columns and the covariate value, specified by the covariate name


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