The pesR package provides functionality for interacting with APIs produced by the NASA Socioeconomic Data and Applications Center (SEDAC). Users are able to select and view Web Mapping Services (WMS) of more than 400 NASA SEDAC data sets.
Users are able to interactively create subnational, regional, or international polygons of arbitrary size and complexity to request population estimates of Age and Sex Structure, Age Pyramids; which are downloadable as CSV data tables, or PNG Pyramid Plots. These estimates are calculated from the Gridded Population of the World Version 4 Basic Demographic Characteristics Datasetusing SEDAC's Population Estimation Service, Version 3 (PES-v3) API, which is the namesake of the pesR package.
For more information about the pesR package please visit the GitLab repository.