wpm_getcoords: Call site coordinates and hierarchy from DATIM via API

Description Usage Arguments Examples

View source: R/wpm_getcoords.R

Description

Adapted from J.Pickering's DATIM Vaidation package - datimvalidation::getOrganisationUnitMap(). Prior to running, you MUST run datimvalidation::loadSecrets()

Usage

1
wpm_getcoords(organisationUnit = NA, folderpath_export = NULL)

Arguments

organisationUnit

what is the UID for the country you would like site coordinates for?

folderpath_export

what is the folderpath where you would like to save the export the file (csv)?

Examples

1
2
3
4
## Not run: 
  datimvalidation::loadSecrets()
  wpm_getcoords("cDGPF739ZZr", "GIS")
## End(Not run)

USAID-ICPI/WeekendSpecial documentation built on May 22, 2019, 11:50 p.m.