Data-Science-Brigade / modelo-epidemiologico-sc

Bayesian epidemiological model, with a focus on the state of Santa Catarina and its micro and macroregions. https://arxiv.org/abs/2104.01133
MIT License
2 stars 1 forks source link

🐛Fixes run_single_region.R #29

Closed jonjoncardoso closed 3 years ago

jonjoncardoso commented 3 years ago

Script run_single_region.R was taking its name too seriously and only allowed SC-MAC_GRANDE_FLORIANOPOLIS region to be run.

How to validate

  1. Rebuild the package
    R -e "setwd(\"epiCata\");devtools::build();devtools::install(upgrade=\"never\");setwd(\"../\")"
  2. Run some other MAC (macroregions) or RSA (micro-regions)
Rscript run_single_region.R -m DEBUG -r "2020-07-10" -l "SC_RSA_ALTO_URUGUAI_CATARINENSE"

Closes #28