This repository produces .csv files from the EPI State of Working America Data Library for data users to download in bulk.
The .csv files are served at https://economic.github.io/data/.
To package the data into .csv files and build this site you will need
- R and the installed packages in
packages.R - the current copy of the data produced by the repo here.
- to set the environment variable
DASHBOARD_DATA_DIRin your .Renviron to point to the .parquet files in thedata_outputs/releasedirectory of your local copy of the above repo.
Then produce the data and generate the site with tar_make().
tar_make() writes the zipped data to release/epi_swa_data_library.zip. To
publish it as a GitHub release (creating the tag + release and uploading the
zip), run:
./make_release.shBy default this tags the release with the data_release_version value in
_targets.R, so update that value before building. You can also pass a version
explicitly, e.g. ./make_release.sh 2026.7.16. Re-running overwrites the
existing asset, so it is safe to run again.
The release tag points at the latest commit on the remote's default branch, so push your commit before publishing if you want them to match.
One-time setup: install the GitHub CLI, then run
gh auth login once to authenticate.