EPP

Evaluation of Proximity Programs

https://github.com/richdeto/epp

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: researchgate.net, zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.6%) to scientific vocabulary

Keywords

hacktoberfest2021 r r-package spatial
Last synced: 6 months ago · JSON representation

Repository

Evaluation of Proximity Programs

Basic Info
  • Host: GitHub
  • Owner: RichDeto
  • License: gpl-3.0
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 715 KB
Statistics
  • Stars: 1
  • Watchers: 4
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Topics
hacktoberfest2021 r r-package spatial
Created over 9 years ago · Last pushed almost 4 years ago
Metadata Files
Readme License Code of conduct

README.md

EPP logo logo

CRAN status CRAN/METACRAN Total downloads CRAN/METACRAN downloads per month DOI R build status codecov Project Status: Active – The project has reached a stable, usable state and is being actively developed.

AppVeyor build status <!-- badges: end -->

Evaluation of Proximity Programs

EPP is a library oriented to the evaluation of population coverage of diverse programs. It was originally developed to assess the coverage of an initial education program in Uruguay, which gave us interesting results, and we wanted to share the methodology used, in a R package format. All contributions are welcome, even though we are still in the process of improvement.

Installation

```R

From CRAN

install.packages("EPP") library(EPP) ```

```R

Use the development version with latest features

utils::remove.packages('EPP') devtools::install_github("RichDeto/EPP") library(EPP) ```

If you use Linux, you need to install a couple dependencies before installing the libraries {sf} and {EPP}. More info here.

Basic Usage

Main functions

A first task is to estimate the population covered with the existing infrastructure, and therefore we refer to the eppexist() function. An important detail to take into account is that our centers cannot overlap, since this prevents the correct computation of the Voronoi polygons. For this particular case, the group_over() function was implemented that combines the records for this specific application case.

Using the datasets pop_epp and centers_epp of the own library, this is it use.

R centers_epp <- group_over(rbind(centers_epp, centers_epp[ 1:3,])) exist <- eppexist(pop = pop_epp, centers = centers_epp, crs = sp::CRS("+init=epsg:32721"))

:warning: If you need to process a large number of cases with the parameter "route" = TRUE, it is recommended to install OSRM on a local server. For more information take a look here and here.

Normally the population is not completely covered by existing infrastructure, and that's when eppproy() appears, a function to find optimal locations to create new centers to cover the remaining population.

Continuing with the example:

R proy <- eppproy(pop = exist$pop_uncover)

This was just an example using the default values of all the parameters. Please play around with them and report any bug here.

Report template

The library also has templates in English and Spanish to quickly produce report of the results of the processing. In RStudio when you create a new RMarkdown document you can select the template like image show and start to personalize it.

Visualizations

For a quick visualization of the results of the eppexist or eppproy functions, the leafepp function was provided, which generates a {leaflet} viewer, with all the sublayers of the process. It also has a version in English and Spanish.

Continuing with the example:

```R

In case of eppexist (In English)

leppexist <- leafepp(exist, t = "exist", crs = sp::CRS("+init=epsg:32721"), leng = "en") leppexist ```

```R

In case of eppproy (and in Spanish)

leppproy <- leafepp(proy, t = "proy", crs = sp::CRS("+init=epsg:32721"), leng = "es") leppproy ```

General functions

The syntax of all {EPP} functions are focused on executing two main processes, eppexist() and eppproy(), both aimed at evaluating the distribution of a certain population and the centers planned to cover it. Under the hood, there are some other tools that can be useful for other processes. Among them, we can mention those that allow making voronoi polygons (voro_polygon()), buffer-voronoi (buff_voronoi()) and iterative clusters (clust_it()).

References

Detomasi, R. 2018. "Abordaje espacial de políticas públicas: cuidados y primera infancia”. En: Las políticas públicas dirigidas a la infancia en Uruguay. Coords. Verónica Amarante y Juan Pablo Labat. Ed. CEPAL - UNICEF, Santiago de Chile.

Detomasi, R., G. Mathieu y G. Botto 2018. "EPP v.0.2: Evaluation of Proximity Programs with OSRM routing". LatinR - Conferencia Latinoamericana sobre Uso de R en Investigación + Desarrollo. 3 al 7 de Setiembre.

Detomasi, R. y G. Botto. 2017. "Evaluación espacial de servicios de educación inicial: la densificación de la oferta para tres años en la Administración Nacional de Educación Pública (ANEP)". GeoFocus (ISSN 1578-5157). <!-- https://www.geofocus.org/index.php/geofocus/article/view/508). -->

Botto, G. y Detomasi, R. 2015. "Bases metodológicas para la planificación espacial de servicios de educación inicial en Uruguay" Jornadas Argentinas de Geo-tecnologías: Trabajos completos. Universidad Nacional de Luján - Sociedad de Especialistas Latinoamericanos en Percepción Remota - Universidad Nacional de San Luis, pp. 121-128.

Detomasi, R., Botto, G. y Hahn, M. 2015. "CAIF: Análisis de demanda" Documento de trabajo, Mayo 2015. Departamento de Geografía. Dirección Nacional de Evaluación y Monitoreo. Ministerio de Desarrollo Social.

R Development Core Team 2015. "R: A language and environment for statistical computing" R Foundation for Statistical Computing, Vienna, Austria.ISBN 3-900051-07-0.

Owner

  • Name: Richard Detomasi
  • Login: RichDeto
  • Kind: user
  • Location: Montevideo - Uruguay
  • Company: Ministerio de Desarrollo Social, Uruguay

Phd. candidate in Social Sciences (Population Studies). Social Anthropologist. Spatial Analysis specialist. Data Analysis Division Director (DINTAD-MIDES)

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 239
  • Total Committers: 4
  • Avg Commits per committer: 59.75
  • Development Distribution Score (DDS): 0.41
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Richard Detomasi R****o 141
richdeto r****i@g****m 58
Germán Botto Nuñez g****o@g****m 39
Richard Detomasi r****i@m****o 1
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
cran.r-project.org: EPP

Evaluation of Proximity Programs

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 0
Rankings
Forks count: 17.8%
Dependent packages count: 29.8%
Stargazers count: 31.7%
Dependent repos count: 35.5%
Average: 40.9%
Downloads: 89.7%
Last synced: over 2 years ago

Dependencies

DESCRIPTION cran
  • R >= 3.6.0 depends
  • assertthat * imports
  • curl * imports
  • deldir * imports
  • dplyr * imports
  • flexclust * imports
  • httr * imports
  • leaflet * imports
  • leaflet.extras * imports
  • maptools * imports
  • methods * imports
  • nngeo * imports
  • osrm >= 3.5.1 imports
  • plyr * imports
  • rgdal * imports
  • rgeos * imports
  • sf * imports
  • sp * imports
  • devtools * suggests
  • knitr * suggests
  • markdown * suggests
  • remotes * suggests
  • roxygen2 * suggests
  • rstudioapi >= 0.11 suggests
  • testthat >= 2.3.2 suggests