Comments (3)
Specifically, the current spec for CPSC recalls in the API:
Recalled On
Manufacturer
ProductType
Description
Hazard
Country
UPC
Additional fields (such as found here: http://www.cpsc.gov/en/Recalls/2013/Electric-Blower-Vacuums-Recalled-by-OWT-Industries/) could include:
Units (which is usually an approximation and not a hard number)
Whether there have been incidents/injuries/deaths (note that this exists in NHTSA data as well, and could be provided)
Whether the product is sold exclusively, and where
Importer
Right now, the API spec does not provide room for agencies to provide these additional data fiels.
from recalls_api.
In general, the API spec tailors to the way each agency currently publishes a feed, rather than mapping agency fields into some sort of harmonized set of standard fields with, potentially, agency-specific extensions of the base data. This should be corrected.
from recalls_api.
We currently pull CPSC data from http://www.cpsc.gov/cgibin/CPSCUpcWS/CPSCUpcSvc.asmx?op=getRecallByWord. A search on "OWT Industries Walmart Expert Gardener BlowerVac 2 Electric Blower Vacuums" returns the following result.
So, the result we return has the same fields.
http://api.usa.gov/recalls/search?query=owt+industries+blower
{"success":{"total":1,"results":[{"organization":"CPSC","recall_number":"13123","recall_date":"2013-02-21","recall_url":"http://www.cpsc.gov/cpscpub/prerel/prhtml13/13123.html","manufacturers":["OWT Industries"],"product_types":["Blowers"],"descriptions":["OWT Industries Walmart Expert Gardener BlowerVac 2 Electric Blower Vacuums"],"upcs":null,"hazards":["Laceration"],"countries":["China"]}]}}
If the data on units, incidents/injuries/death, exclusivity, and importer are added to the CPSC API, we can add it to this API, too.
from recalls_api.
Related Issues (10)
- Include images in the data calls HOT 2
- Relational Database HOT 2
- Include US Coast Guard Recalls in API HOT 1
- Include USDA Recalls in API HOT 1
- Include EPA Recalls in API HOT 1
- Recall Terms of Service HOT 3
- CPSC URL HOT 2
- CORS or JSONP support HOT 1
- Return all recalls for an organization HOT 1
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 recalls_api.