Skip to content

get data from FARS ftp address and use python to create massive data table for analysis

Notifications You must be signed in to change notification settings

JunhaoWang/FARSdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

FARSdata

get data from FARS ftp address and use python to create massive data table for analysis

wget BRP data files from FARS ftp

wget -A 'FARS*.zip' -r -nd -l 7 --tries=10 --waitretry=1 --proxy=on ftp://ftp.nhtsa.dot.gov/FARS/

unzip all files

find . -name "*.zip" | xargs -P 5 -I fileName sh -c 'unzip -o -d "$(dirname "fileName")/$(basename -s .zip "fileName")" "fileName"'

delete zips

rm -r *.zip

About

get data from FARS ftp address and use python to create massive data table for analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published