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

Allow cron job to crawl hotel inspections as well #70

Open
ccjoel opened this issue Feb 28, 2017 · 0 comments
Open

Allow cron job to crawl hotel inspections as well #70

ccjoel opened this issue Feb 28, 2017 · 0 comments

Comments

@ccjoel
Copy link
Contributor

ccjoel commented Feb 28, 2017

This would change the Restaurant Inspections API to the Health Inspections API.
If the model (db columns) are the same, the first step could be as simple as adding more csv file targets to the cron task (url for hotel csv data).

I would create a separate cron job for hotels, just so that the restaurant data crawling can finish and then we can scan the hotel data.

Also, it would be great to rename the project (Health Inspections API? something else?) and rename the namespaces as well (to something shorter, even.. right now it's restaurant-inspections-api which is super long) when this change lands.

And last, one of the database tables is called "restaurants", whereas we expose the concept of "businesses". After we figure out if this information is actually info on the "license" or "business" we should rename the restaurant model to business or license.

See http://www.myfloridalicense.com/dbpr/sto/file_download/public-records-lodging.html

@marcoslhc marcoslhc assigned marcoslhc and unassigned marcoslhc Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants