aqs_states: aqs_states

View source: R/RAQSAPIlistfunctions.R

aqs_statesR Documentation

aqs_states

Description

\lifecycle

stable Returns a table of US states, US territories, and the district or Columbia with their respective FIPS codes.

Usage

aqs_states(return_header = FALSE)

Arguments

return_header

If FALSE (default) only returns data requested. If TRUE returns an AQSAPI_v2 object which is a two item list that contains header information returned from the API server mostly used for debugging purposes in addition to the data requested.

Value

a tibble or an AQS_Data Mart_APIv2 S3 object of states and their associated FIPS codes.

Examples

# Returns a tibble of states and their FIPS codes
          ## Not run: aqs_states()

USEPA/RAQSAPI documentation built on Jan. 18, 2024, 1:50 a.m.