Skip to content

MinnPost/minnpost-payday-lending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payday Lending

Interactive pieces to payday lending story.

Data

Data Processing

  • In order to combine the CSV and MN Zip Shapefile, used QGIS and Mapbox's helpful instructions.
  • Payday lender locations were geocoded from address in bulk, and some manually found.
  • To create a JSON(P) file for use in visualization (uploaded to AWS), run the following: csvjson data/payday-lenders-mn-v4.csv > data/payday-lenders-mn-v4.json; echo "payday_lenders_callback(" > data/payday-lenders-mn-v4.jsonp; cat data/payday-lenders-mn-v4.json >> data/payday-lenders-mn-v4.jsonp; echo ");" >> data/payday-lenders-mn-v4.jsonp;
  • To work on the tileset, link it up to your Mapbox projects using an absolute page (pwd will help).
    • Project: ln -s {PATH_TO_THIS_REPO}/data-processing/tiles/payday-lending ~/Documents/MapBox/project/payday-lending
    • Data: mkdir ~/Documents/MapBox/data/; ln -s {PATH_TO_THIS_REPO}/data/tl_2010_27_zcta510-below-povertyline.zip ~/Documents/MapBox/data/tl_2010_27_zcta510-below-povertyline.zip
  • Tiles uploaded to Mapbox for hosting.

Visualization

  • Go to visualizations/index.html in a browser.

About

Interactive pieces to payday lending story.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published