https://github.com/ncgl-git/eriparse
Python code to parse the cost-of-living HTML from erieri.com, i.e. https://www.erieri.com/cost-of-living/united-states/illinois/chicago
https://github.com/ncgl-git/eriparse
cost-of-living crime crime-data data economic-research-institute erieri webscraper
Last synced: 5 months ago
JSON representation
Python code to parse the cost-of-living HTML from erieri.com, i.e. https://www.erieri.com/cost-of-living/united-states/illinois/chicago
- Host: GitHub
- URL: https://github.com/ncgl-git/eriparse
- Owner: ncgl-git
- License: mit
- Created: 2023-07-22T15:03:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T00:53:18.000Z (about 2 years ago)
- Last Synced: 2025-09-27T21:27:44.831Z (9 months ago)
- Topics: cost-of-living, crime, crime-data, data, economic-research-institute, erieri, webscraper
- Language: HTML
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Eriparse

*HTML parsing logic for `https://www.erieri.com/cost-of-living-calculator`. Was written to help my wife and I better understand the differences between potential cities for her fellowship.*
#### Notes
Be aware that website frontend can change _whenever_ - the badge indicates if the website HTML has changed since this code was written.
## Usage
Intended to be called like:
```
wget -q https://www.erieri.com/cost-of-living/united-states/illinois/chicago -O - | pipenv run python eriparse/main.py >> chicago.json
```
Or, if you'd like to integrate it into your Python code
`pip install eriparse`
and then
`from eriparse import parse`
## Tests
The test uses HTML taken from July, 2023.
_Github Actions stops running scheduled jobs if no commits have been pushed after certain period of time. For now, we work around this by modifying the below tally as a dummy commit._
|