filter_diseases: Filter diseases from GIDEON database

View source: R/filter_diseases.R

filter_diseasesR Documentation

Filter diseases from GIDEON database

Description

Filter diseases from GIDEON database

Usage

filter_diseases(
  agent = NULL,
  vector = NULL,
  vehicle = NULL,
  reservoir = NULL,
  country = NULL
)

Arguments

agent

GIDEON agent code - Classification (e.g., virus, parasite) and taxonomic designation.

vector

GIDEON vector code - An arthropod or other living carrier which transports an infectious agent from an infected organism or reservoir to a susceptible individual or immediate surroundings.

vehicle

GIDEON vehicle code - The mode of transmission for an infectious agent. This generally implies a passive and inanimate (i.e., non-vector) mode.

reservoir

GIDEON reservoir code - Any animal, arthropod, plant, soil or substance in which an infectious agent normally lives and multiplies, on which it depends primarily for survival, and where it reproduces itself in such a manner that it can be transmitted to a susceptible host.

country

GIDEON country code - In general, this list of country names corresponds to accepted geographical and political designations. When Country filter is used, it will only retrieve diseases that are endemic to the country.

See Also

https://api-doc.gideononline.com/#4272d285-ba04-435d-b7ad-deabe971330e

lookup_gideon_id

Examples

# The The user can specify none to all of the parameters
filter_diseases()

physical_contact_vehicle_code <- lookup_gideon_id("vehicles",
                                                  "Direct physical contact")
filter_diseases(vehicle = physical_contact_vehicle_code)

mosquito_vector_code <- lookup_gideon_id("vectors", "Mosquito")
us_country_code <- lookup_gideon_id("countries", "United States")
filter_diseases(vector = mosquito_vector_code, country = us_country_code)


gideononline/gideon-api-r documentation built on March 19, 2022, 5:07 p.m.