Scraping data from the U.S. Census Bureau's American Community Survey
library("devtools")
install_github("lrdegeest/StateACS")
Pull household data from Iowa betwen 2011 and 2016 into your R workspace and save the .csv files for each year in your current directory:
library(StateACS)
p.data <- getStateACS(2001, 2016, state = "IA", type = "h", save = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.