Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.2dev

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
datahub.gov.dot.nhtsa.recall-0.2dev.tar.gz (7.7 kB) Copy SHA256 hash SHA256 Source None Dec 3, 2009

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page