Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install datahub.gov.dot.nhtsa.recall

How to install datahub.gov.dot.nhtsa.recall

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install datahub.gov.dot.nhtsa.recall
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2dev Available View build log
Windows (64-bit)
0.2dev Available View build log
Mac OS X (10.5+)
0.2dev Available View build log
Linux (32-bit)
0.2dev Available View build log
Linux (64-bit)
0.2dev Available View build log
 
License
GPL
Imports
Lastest release
version 0.2dev on Jan 5th, 2011

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:

System Message: WARNING/2 (<string>, line 8)

Literal block expected; none found.

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

2. Unzip it:

System Message: WARNING/2 (<string>, line 12)

Literal block expected; none found.

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

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

System Message: WARNING/2 (<string>, line 16)

Literal block expected; none found.

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:

System Message: WARNING/2 (<string>, line 21)

Literal block expected; none found.

sh process.sh

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

System Message: WARNING/2 (<string>, line 25)

Literal block expected; none found.

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.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.