Skip to content

Commit

Permalink
Merge pull request #121 from cfpb/update-countylimit-tables
Browse files Browse the repository at this point in the history
Annual Owning a Home API county-limit update
  • Loading branch information
higs4281 committed Dec 18, 2017
2 parents 897a887 + ffbbf2c commit 2a2b9b1
Show file tree
Hide file tree
Showing 15 changed files with 13,100 additions and 127,096 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
language: python
python:
- 2.7.12
- 2.7.14
install:
- pip install -r requirements/test.txt
- pip install coveralls
script:
- export DJANGO_SETTINGS_MODULE=settings_for_testing
- coverage run manage.py test > /dev/null
- coverage run manage.py test
- python2.7 setup.py bdist_wheel
after_success:
- coveralls
Expand Down
3,235 changes: 3,235 additions & 0 deletions countylimits/data/base_data/county_limit_data_flat_2018.csv

Large diffs are not rendered by default.

3,238 changes: 3,238 additions & 0 deletions countylimits/data/base_data/forward_limits_2018.csv

Large diffs are not rendered by default.

3,238 changes: 3,238 additions & 0 deletions countylimits/data/base_data/gse_limits_2018.csv

Large diffs are not rendered by default.

6,470 changes: 3,235 additions & 3,235 deletions countylimits/data/county_limit_data_latest.csv

Large diffs are not rendered by default.

13 changes: 2 additions & 11 deletions countylimits/data_collection/gather_county_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,9 @@
import datetime
from collections import OrderedDict

from unicodecsv import DictReader
from unicodecsv import writer as Writer
import requests
try:
from csvkit import DictReader # for stand-alone use
from csvkit import writer as Writer # for stand-alone use
except ImportError: # pragma: no cover
try:
from paying_for_college.csvkit.csvkit import DictReader
from paying_for_college.csvkit.csvkit import Writer
except ImportError: # unicode errors ahoy
from csv import DictReader
from csv import writer as Writer


ERROR_MSG = "Script failed to process all files."
API_DIR = os.path.abspath(
Expand Down

0 comments on commit 2a2b9b1

Please sign in to comment.