Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 507 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 507 Bytes

CRP loader

A Postgres loader for bulk data from the Center for Responsive Politics.

Requires Bash, 7za, aws-cli, psql, Node.js.

Run it like this:

export PGHOST=<database host> PGDATABASE=<database name> PGUSER=<database user> PGPASSWORD=<database password>
npx PublicI/crp-loader

Or use the Docker image:

docker run -e PGHOST=<database host> -e PGDATABASE=<database name> -e PGPASSWORD=<database password> -e PGPORT=5432 -e PGUSER=<database user> -e publicintegrity/crp-loader