Skip to main content

Recall Database from nhtsa

Project description

Source: National Highway Traffic Safety Administration(NHTSA) and U.S. Department of Transportation.

How to use it:

1. Download the package from pypi or launchpad:

http://pypi.python.org/pypi/datahub.gov.dot.nhtsa.recall/0.1dev

2. Unzip it:

tar -xzvf datahub.gov.dot.nhtsa.recall-0.2dev.tar.gz

2a. You can also use easy_install to downlaod the package:

easy_install -xmaxd . datahub.gov.dot.nhtsa.recall
unzip datahub.gov.dot.nhtsa.recall

3. Go into the folder and read what needs to be setup:

cd  cd datahub.gov.dot.nhtsa.recall/datahub/gov/dot/nhtsa/recall/
#Read Readme.txt.

4. After you have installed any necessary packages or programs, and setup your database you are ready to start the process:

sh process.sh

5. When you start this script you should see results like:

Crawling Data
Done Crawling
Parsing Data
Done Parsing Data
Loading Data
Done Loading Data

6. Now, this package has downloaded the recall files, unzipped it, parsed it and loaded it to a database you specified in load.py in about 5 minutes depending on your speed. Try comparing that to weeks to figure out where, how and what structure this data has.

[Sample]Here is a website that uses this package to load new recalls every month.<http://lucasmanual.com/recall>

Feedback is always welcomed. If you don’t agree with data structure, or would like to make a improvements please send a patch and we will add it in.

Enjoy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datahub.gov.dot.nhtsa.recall-0.2dev.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file datahub.gov.dot.nhtsa.recall-0.2dev.tar.gz.

File metadata

File hashes

Hashes for datahub.gov.dot.nhtsa.recall-0.2dev.tar.gz
Algorithm Hash digest
SHA256 971f0e5dd474a9c611782bcbe2f14b7d2df2b941333ef37de921f33c8f757c3c
MD5 e3e78d943bb69e3358981f04e947319f
BLAKE2b-256 28ad1249c7b144e93ffdc9094e7833ea29c123f67cc62038fa336e303192db5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page