Map of the Congressional districts as determined by the
113th congress, downloaded from
http://www.census.gov/cgi-bin/geo/shapefilesrd13/layers.cgi
and modeified for use as map object in ggplot2.
cdmap
is a data frame consisting of the variables
ID: integer ID for each polygon
Long: geographic longitude
Lat: geographic latitude
subregion: integer id
order: order in which to plot points in polygon
group: group within polygon
GEOID: equivalent to group but first two digits are state fips code.
Map of congressional districts based on the 113th congress
1 2 3 4 5 | ## Not run:
## read from ACS 2012 profile:
read.census(sprintf("http://api.census.gov/data/2012/acs1/profile?get=DP02_0001PE&for=state:*&key=%s", getkey()))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.