Learn R Programming

rHealthDataGov (version 1.0.1)

resources: HealthData.gov resources metadata

Description

This is a data frame that contains the resource names which can be passed as a string to the resource argument of the fetch_healthdata function. It also contains resource descriptions and other metadata.

Usage

data(resources)

Arguments

Format

A data frame with 33 observations on the following 6 variables.
resource
a factor with levels ahrqn ahrqp ahrqs cacn cacop cacp cacs cn cp cs hacn hacp haip hais hn hophc hophp hopnp hopqdrpq hopsp hosp hp hpv hs npv on op oq os ppv q sm spv
description
a character vector
date
a Date
nrow
a numeric vector
ncol
a numeric vector
resource_id
a factor (with levels identified by a hash assigned by HealthData.gov)

Details

There are 33 available resources which can be queried by their resource name. The names, descriptions, source dates, number of records and fields, and resource ids are available in this data frame.

References

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

Examples

Run this code
data(resources)
head(resources[,1:2])
#   resource                                                description
# 1    ahrqn Healthcare Research and Quality Indicators, Natioanal data
# 2    ahrqp      Healthcare Research and Quality Indicators, Providers
# 3    ahrqs     Healthcare Research and Quality Indicators, State data
# 4     cacn                      Childrens Asthma Care National (CACN)
# 5    cacop               Childrens Asthma Care Only Providers (CACOP)
# 6     cacp                     Childrens Asthma Care Providers (CACP) 

Run the code above in your browser using DataLab