densnv 
Exploratory analysis of the SINAVE vector-borne disease datasets of Mexico, in Python. It is the Python version of the R package densnv, part of the dengueverse.
In development
Ready: reading and aggregating the cases (module 1), the effective reproductive number, Rt (module 2), and the active transmission foci with the diagnosis of the epidemiological scenario (module 3), and the main graphs and maps (module 4).
import densnv
loc = densnv.cases_by_loc("DENGUE2_.txt", "DENV")
loc.explore(column="probable")
Functions
- Read:
read(),read_sinave(),read_dengue_dataset(). - Aggregate:
cases_by_agem()(municipalities),cases_by_loc()(localities),cases_week()(weeks). - Rt:
rt_dengue()for the country, a state, a municipality or a locality (Cori et al. 2013, the same estimates as EpiEstim). - Active foci:
mp_active_foci(): DBSCAN / ST-DBSCAN, Knox test, transmission and control zones, blocks to treat and diagnosis of the epidemiological scenario (focalised, dispersed, generalised, early warning) with the operational strategy. - Graphs and maps:
plt_heatmap(),plt_pyramid(),plt_serotype(),plt_treemap(),mp_bumpmap(),mp_cases_loc()andmp_serotype().
The results are the same as in R: every function is validated against densnv with the real SINAVE dataset.
Data
The SINAVE datasets are for the exclusive use of the staff of the State Ministries of Health and of the federal level. The package reads them from your computer; it never downloads or publishes them.