get_counties_in_state: Get all counties within a state.

View source: R/list_service.R

get_counties_in_stateR Documentation

Get all counties within a state.

Description

Get all counties within a state.

Usage

get_counties_in_state(state.fips)

Arguments

state.fips

A state FIPS code. Use get_state_fips() to find the appropriate FIPS code.

Value

API response containing all counties and county codes within a given state.

Examples

## Not run: 
state <- "37"
counties.in.state <- get_state_fips(state)
counties.in.state$Data

## End(Not run)

GLOrozcoM/epair documentation built on July 28, 2022, 9:01 p.m.