pewdata
is an R package that provides reproducible, programmatic access to survey datasets from the Pew Research Center.
To install:
install.packages("pewdata")
if (!require(remotes)) install.packages("remotes")
remotes::install_github("fsolt/pewdata")
Note that pewdata
depends on the Chrome Dev browser; if you don't already have it installed on your machine, get it here.
pewdata
also depends on having a working installation of rJava
. Helpful hints for Mac users and for Windows users.
For more details, check out the vignette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.