Learn R Programming

malariaAtlas (version 1.6.3)

isAvailable: 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,
  ...
)

Value

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

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

See Also

link{isAvailable_pr} isAvailable_vec

Examples

Run this code
if (FALSE) {
available_pr_locations <- isAvailable_pr(ISO = 'IDN')
available_vector_locations <- isAvailable_vec(ISO = 'IDN')
}

Run the code above in your browser using DataLab