knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of rhealthdiag is a package developed in the department of prevention and control of diseases transmitted by vector of the Secretary of Health of Veracruz and with colaboration of the federal level.
rhealthdiag is a package designed to generate a health diagnosis of the mortality of a state, municipality or locality using data from the INEGI. The package contain the mortality of Puebla state (with the updates we add all states) and the functions for generate the tables, static and interactive maps.
Datasets
mortalidad_general_21
Mortality of Puebla State (2012_2019).mortalidad_general_12
Mortality of Guerrero State (2012_2019).Functions
mort_year_edo_dt
Generates tables of causes of death from 2012 to 2019 at the state level.
mort_year_mpo_dt
generates tables of causes of death from 2012 to 2019 at the municipality level.
mort_year_loc_dt
Generates tables of causes of death from 2012 to 2019 at the locality level.
You can install the released version of healthdiagr from CRAN with:
#install.packages("rhealthdiag")
To get a bug fix, or use a feature from the development version, you can install boldenr from GitHub.
# install.packages("remotes") remotes::install_github("fdzul/rhealthdiag")
or
# install.packages("devtools") devtools::install_github("fdzul/rhealthdiag")
This is a basic example which shows you how load the mortality dataset in R:
library(rhealthdiag) head(rhealthdiag::mortalidad_general_21)
1) denhotspots. 2) boldenr. 3) dendata. 4) deneggs. 5) rgeomex. 6) covid19mx.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
The package was inspired by the need to contribute to generate health diagnoses at the state, municipality and local level.
If you encounter a clear bug, please file a minimal reproducible example on github. For questions and other discussion, please feel free to contact me (felipe.dzul.m@gmail.com)
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.