
Run the pollution-to-health causal pipeline and report it
Source:R/envhealth.R
morie_verify_pollution.RdThe R twin of morie verify-pollution: resolves the exposure (demo
data, a CSV with an exposure and optional income column, or
scalar arguments), logs the assumptions, and when they all hold runs the
concentration-response, attributable-fraction, mortality-displaced, burden
and equity stages.
Usage
morie_verify_pollution(
pollutant,
outcome = "all_cause_mortality",
region = NULL,
years = NULL,
demo = FALSE,
exposure_csv = NULL,
exposure_mean = 0,
exposure_prevalence = 0,
reference = 5.8,
baseline_rate = 500,
population = 1e+06
)Arguments
- pollutant
"no2"or"pm25".- outcome
Outcome key for the concentration-response function.
- region, years
Labels for the report.
- demo
Use synthetic demo data.
- exposure_csv
Path of a CSV with an
exposurecolumn.- exposure_mean, exposure_prevalence
Scalar inputs used when neither
demonorexposure_csvis given.- reference
Counterfactual reference concentration.
- baseline_rate
Baseline outcome rate per 100,000 per year.
- population
Population at risk.