Comments (5)
Once the schema and SQL generator is updated, the Violation.getViolations
method needs to be updated.
from eatsafe.
There isn't any violation name in the report. But there are detailed explanations on their website for each violation. http://www.health.gov.sk.ca/adx/aspx/adxGetMedia.aspx?DocID=9a42d80d-a17d-4b31-bd7b-4629220e6712&MediaID=3144&Filename=restaurant-inspections-critical-general-items.pdf&l=English
In the report, the violation is in form of: 1 - Refrigeration/Cooling/Thawing (must be 4°C/40°F or lower),
So I use 1 as ID and the rest as description, and no name.
We can use the explanation from the above link, then the DB will be:
ID: 1
Name: Refrigeration/Cooling/Thawing (must be 4°C/40°F or lower)
Description: Potentially hazardous foods and perishable foods must be stored at 4oC/40oF or below.
Hazardous foods must be thawed in a refrigerator or under cold, running water.
Do you want me to change the schema to that?
from eatsafe.
I see. My bad. You'll have to hard-code the descriptions into the violation
type using the data from the website.
On Feb 8, 2015 1:36 PM, "lujie duan" [email protected] wrote:
There isn't any violation name in the report. But there are detailed
explanations on their website for each violation.
http://www.health.gov.sk.ca/adx/aspx/adxGetMedia.aspx?DocID=9a42d80d-a17d-4b31-bd7b-4629220e6712&MediaID=3144&Filename=restaurant-inspections-critical-general-items.pdf&l=EnglishIn the report, the violation is in form of: 1 -
Refrigeration/Cooling/Thawing (must be 4°C/40°F or lower),
So I use 1 as ID and the rest as description, and no name.We can use the explanation from the above link, then the DB will be:
ID: 1
Name: Refrigeration/Cooling/Thawing (must be 4°C/40°F or lower)
Description: Potentially hazardous foods and perishable foods must be
stored at 4oC/40oF or below.
Hazardous foods must be thawed in a refrigerator or under cold, running
water.Do you want me to change the schema to that?
—
Reply to this email directly or view it on GitHub
#23 (comment).
from eatsafe.
please review the commits
from eatsafe.
Looks good. Closing as complete.
from eatsafe.
Related Issues (20)
- Test admin interface
- Error opening maps in latest Dev HOT 3
- Wrong String displayed for submitting empty city HOT 1
- Test matrix update HOT 1
- Update flow diagram
- Bug: Really long strings give blank page in find location HOT 3
- Bug: multi-map page doesn't change language
- Make translation file entries HOT 2
- Language localization HOT 1
- Remove or Finish Violation [more info] links HOT 3
- Searching for "A & W" does not work very well HOT 1
- Finalize Esperanto messages HOT 4
- Finish Esperanta
- 400 and 404 needs to be accessible in all languages
- Implement logging framework HOT 3
- Pull JavaScript from displayCityMap.scala.html into external file HOT 5
- Fixing Exisiting Browser Tests HOT 3
- Search queries with multiple spaces in a row fail HOT 1
- Admin interface should be able to set coords HOT 1
- Translation to Klingon HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eatsafe.