Enigma holds government data and provides a really nice set of APIs for data, metadata, and stats on each of the datasets. That is, you can request a dataset itself, metadata on the dataset, and summary statistics on the columns of each dataset.
enigma_data - Fetch and dataset, and filter on
columns or rows.
enigma_metadata - Get metadata on datasets.
enigma_stats - Get columnwise statistics on
enigma_fetch - Get gzipped csv of a dataset.
Goes along with
rate_limit - Get columnwise statistics on
An API key is required to use this package. You can supply your key in each
function call, or store in your
.Renviron file like
ENIGMA_KEY=your key), or in your
.Rprofile file as
options(enigmaKey = "<your key>"), Obtain an API key by creating
an account with Enigma at http://enigma.io, then obtain an API key
from your account page.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.