Description Usage Arguments Value
Plot census data on ggmap
1 2 3 4 |
survey |
"decennial" for decennial census, "acs5year" for ACS 5-year estimates, "acs1year" for ACS 1-year estimate |
year |
year of the survey |
table_contents |
contents of table to be read |
summary_level |
select which summary level to keep, "*" to keep all. It takes strings including "state", "county", "county subdivision", "place", "tract", "block group", and "block" for the most common levels. It also take code for level. |
states |
abbreviation of a state of which data to be read, such as "RI". |
areas |
areas of which data to be read |
N |
integer when state is NULL, N x N grid points on the view of map are used to determine the states and counties within the view. |
mapping |
same as those in ggplot functions, typically inherited from ggmap() |
data |
data typically inherited from ggmap(). |
geom |
same as those in ggplot2 functions but should be uisng "point". |
position |
same as those in ggplot2 functions. |
na.rm |
same as those in ggplot2 functions. |
show.legend |
same as those in ggplot2 functions. |
inherit.aes |
same as those in ggplot2 functions. |
... |
same as those in ggplot2 functions. |
a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.