Alternative names for cd_boundaries(), cd_dotmap(), cd_hexmap(), and
cd_names(), with the same arguments and return values.
Usage
load_cd_shps(
year = NULL,
congress = NULL,
epsg = 5070,
simplify = TRUE,
cache = TRUE,
state = NULL
)
load_shp_dot(year = NULL, congress = NULL)
load_shp_hex(year = NULL, congress = NULL)
load_cd_info(year = NULL, congress = NULL)Arguments
- year
Integer vector of years, such as
2025orc(2025, 2027). For data functions, use Congress start years, rather than election years.- congress
Integer vector of Congress numbers, such as
119orc(119, 120).- epsg
Integer EPSG code for the output coordinate reference system (default
5070).- simplify
Logical. For Lewis-era Congresses (1-112), simplify boundaries to about Census cartographic
20mresolution (defaultTRUE). Ignored for Congresses 113-119, which use Census cartographic20mfiles. For the 120th Congress, simplify the nine redrawn states together after assembling the map. UseFALSEfor full TIGER/Line detail in those nine states; all other states retain the previous cycle's cartographic20mboundaries.- cache
Logical. Cache assembled 2027 maps in the current R session (default
TRUE). SetFALSEto rebuild from the boundary inputs. Download caching is controlled separately byoptions(tigris_use_cache = TRUE).- state
State names, two-letter abbreviations, or FIPS codes, such as
"Tennessee","TN", or47.
