This repository holds a set of scripts for importing legal data into openFEC api.
To load regs, run
$ python regulations.py env
Where env can be local, feature, stage or prod.
Note: When regulations need to be removed, the best way to do that is to drop the elastic search instance and re-add it, by doing:
$ cf unbind fec-search-prod api
$ cf delete-service fec-search-prod
$ cf create-service elasticsearch-swarm-1.7.1 1x fec-search-prod
$ cf restage api
This project is in the worldwide public domain. As stated in CONTRIBUTING:
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.