Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

search_cd

Get all ZIP codes that fall within a given congressional district


Description

Get all ZIP codes that fall within a given congressional district

Usage

search_cd(state_fips_code, congressional_district)

Arguments

state_fips_code

A two-digit U.S. FIPS code for a state

congressional_district

A two digit number specifying a congressional district in a given

Value

tibble of all congressional districts found for given ZIP code, including state code

Examples

search_cd("34", "03")
search_cd("36", "05")

zipcodeR

Data & Functions for Working with US ZIP Codes

v0.3.0
GPL-3
Authors
Gavin Rozzi [aut, cre] (<https://orcid.org/0000-0002-9969-8175>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.