rHealthDataGov (version 1.0.1)

filters: List of supported fields and field values for each of the data resources.

Description

This is a list containing elements for each resource. Each resource element is another list that contains named (filter names) vectors of values (unique filter values).

Usage

data(filters)

Arguments

Format

The format is: List of 33

Details

This list was created by by calling the fetch_healthdata function (with filter = NULL) on all of the resources and returning the unique values for each column in the resulting data frame.

References

http://www.healthdata.gov/data-api

Examples

Run this code
data(filters)

str(filters$hosp$addr_state)
# chr [1:55] "AK" "AL" "AR" "AZ" "CA" "CO" "CT" "DC" "DE" ...

str(filters$hosp$addr_city)
# chr [1:2832] "ABBEVILLE" "ABERDEEN" "ABILENE" "ABINGDON" ...

Run the code above in your browser using DataCamp Workspace