Description Usage Arguments Value
Covariate-specific prep function for the average person's travel time to the nearest healthcare facility (by motor vehicle).
1 2 3 4 5 6 7 8 | ita_prepare_covar_hc_access(
covar_fp,
model_years,
location_table,
pop_raster,
polys_sf,
projection
)
|
covar_fp |
Filepath to the raw covariate |
model_years |
Vector of years to consider for modeling |
location_table |
Location code merge table for Italy |
pop_raster |
[optional] Population rasterBrick object, with one layer per modeling year. Only used to prepare raster covariates, default NULL. |
polys_sf |
[optional] Polygon boundaries |
projection |
[optional] Character vector giving the proj4 CRS definition. Example: "+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs" |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.