isAvailable: Available data to download from the MAP geoserver.

View source: R/isAvailable.R

isAvailableR Documentation

Available data to download from the MAP geoserver.

Description

isAvaiable is a wrapper for isAvailable_pr and isAvailable_vec, listing data (PR survey point location data and vector occurrence locations available to download from the MAP geoserver.

Usage

isAvailable(
  sourcedata = NULL,
  full_results = FALSE,
  country = NULL,
  ISO = NULL,
  continent = NULL,
  ...
)

Arguments

sourcedata

One of 'pr points' or 'vector points'

full_results

Should the list be printed to the console?

country

string containing name of desired country, e.g. c("Country1", "Country2", ...) OR = "ALL" (use one of country OR ISO OR continent, not combined)

ISO

string containing ISO3 code for desired country, e.g. c("XXX", "YYY", ...) OR = "ALL" (use one of country OR ISO OR continent, not combined)

continent

string containing continent for desired data, e.g. c("continent1", "continent2", ...) (use one of country OR ISO OR continent, not combined)

...

passed on to isAvailable_vec and isAvailable_pr

Value

isAvailable returns a data.frame detailing the administrative units for which shapefiles are stored on the MAP geoserver.

See Also

link{isAvailable_pr} isAvailable_vec

Examples

## Not run: 
available_pr_locations <- isAvailable_pr(ISO = 'IDN')
available_vector_locations <- isAvailable_vec(ISO = 'IDN')

## End(Not run)

malariaAtlas documentation built on Oct. 27, 2023, 9:07 a.m.