knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

rgeomex

Build Status HitCount GitHub all releases Codecov test coverage

logo

rgeomex is a package developed in the CENAPRECE dengue prevention and control program in collaboration with INDRE, & the Yucatan state.

overview

Geographical datasets from the INEGI and INE are available in the R package rgeomex. Geographical dataset at various resolutions (states, municipalities, localities, agebs, blocks, sectors, and neighborhoods) constitute the majority of the package's content.

rgeomex constitutes a transversal package of the ETVerse and IVAverse initiatives. rgeomex, together with denepikit, denhotspots, deneggs, and dencontrol packages, constitute a universe of packages that make up the dengueverse of the dengue prevention and control program in Mexico.

The package has six spatial datasets and functions for extract the AGEBs (extract_ageb), blocks (extract_blocks), sectores (extract_sectores) & localities (extract_locality).

tibble::tibble(dataset = c("rgeomex::AGEB_inegi_2019_a",
                           "rgeomex::AGEB_inegi_2019_b"),
               id_states = c("01-16", "17-32")) |>
  gt::gt()
tibble::tibble(dataset = c("blocks_ine20_mx_a",
                           "blocks_ine20_mx_b",
                           "blocks_ine20_mx_c",
                           "blocks_ine20_mx_d",
                           "blocks_ine20_mx_e"),
               id_states = c("1-10", "11-14", 
                             "15-19", "20-25",
                             "26-32")) |>
  gt::gt()
tibble::tibble(dataset = c("sectores_ine20_mx_a",
                           "sectores_ine20_mx_b",
                           "sectores_ine20_mx_c"),
               id_states = c("01-10", "11-20", "21-32")) |>
  gt::gt()

This package is currently available only in R, and we hope that it will soon become available in Python.

Installation R

You can install the released version of rgeomex from CRAN with:

install.packages("rgeomex")

And the development version from GitHub with:

devtools::install_github("fdzul/rgeomex")

or

pak::pkg_install("fdzul/rgeomex")

Authors

1) denhotspots. 2) boldenr. 3) dendata. 4) deneggs.

See also the list of contributors who participated in this project.

Credits

Original shapefiles are created by official government institutions (INEGI & INE).

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Inspiration

The package was inspired by the need to contribute toward making decisions in the dengue prevention and control program, specifically through the identification of dengue vector hotspots and use the entomological information generated by the program.

Getting help

If you encounter a clear bug, please file a minimal reproducible example on github. For questions and other discussion, 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.



fdzul/rgeomex documentation built on July 20, 2024, 7:57 p.m.