Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health dept link #30

Merged
merged 2 commits into from
Apr 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,10 @@ heroku repo:purge_cache -a my-etl-app
Add Heroku Scheduler add-on to Heroku instance

set to run daily:
`bundle exec ruby lives_etl.erb`
`bundle exec ruby lives_etl.rb`

## To check when scores have changed on the Health Dept page

Use http://www.changedetection.com/monitor.html

That way you get a notification that the scores have changed and the automation should have kicked off.
2 changes: 1 addition & 1 deletion lives_etl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
require 'dotenv'
Dotenv.load

HEALTH_DEPT_PERMALINK = 'http://www.lexingtonhealthdepartment.org/Portals/0/environmental%20health/most_recent_food_scores.xls'
HEALTH_DEPT_PERMALINK = 'http://lexingtonhealthdepartment.org/Portals/0/most_recent_food_scores.xls'

TEMPDIR = Dir.mktmpdir
clone_url = 'https://github.com/openlexington/health-department-yelp-data.git'
Expand Down