The malariaverse site files and several supporting packages have had a significant update that changes the site-file structure and may break existing workflows. Please read Latest changes to malariaverse for whatβs changed and how to keep reproducing existing work.
The site package supports malariaverse users to:
- Access and download the latest country site-files π β‘οΈ π»
- Translate site file information into malariasimulation parameters π β‘οΈ π
Email: malariaverse@imperial.ac.uk
The site-file is the file storing all of the sub nationally disaggregated information for a country. Components of the site-file include:
- The Metadata, with high level information about the country, site-file version and spatial boundaries.
- Historical Epidemiological Data with estimates of cases, deaths and parasite prevalence, the calibrated baseline EIR and bias-correction factors.
- Population and Demography information.
- Estimates of the Historical Intervention Use in the country.
- Rainfalll and Seasonality data.
- Information on the Mosquito Vectors.
- Blood Disorders and Accessibility, with inherited blood-disorder frequencies and travel-time accessibility metrics.
Data inputs are linked throughout via the data buttons which link to all information on the data sources.
Please see this detailed guide for information on how to gain access and download site files. When using site, use should acknowledge and cite these sources.
If we have access a site file, then all we need to do to run the model is
- Isolate a single site, this is a single sub-national unit within the country
- Create the parameter list
- Pass that to malariasimulation to run the simulation
# Pull information for a single sub-national unit from the site-file
site <- create_example_site(itn_use = 0)
# Convert site information to malariasimulation parameters
site_par <- site_parameters(
interventions = site$interventions,
demography = site$demography,
vectors = site$vectors,
seasonality = site$seasonality,
eir = site$eir$eir,
overrides = list(
human_population = 1000
),
start_year = 2000,
end_year = 2002
)
# Run the model!
site_sim <- malariasimulation::run_simulation(
timesteps = site_par$timesteps,
parameters = site_par
)You can install the development version of site from GitHub with:
# install.packages("pak")
pak::pak("mrc-ide/site")Visits to the live site are counted anonymously with GoatCounter β a cookieless, privacy-friendly analytics service that collects no personal data.
