Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (15 sloc) 727 Bytes
# CODELIST SOURCES:
# http://iatistandard.org/codelists/downloads/clv1/codelist/Country.csv
# http://iatistandard.org/codelists/downloads/clv1/codelist/Region.csv
# http://iatistandard.org/codelists/downloads/clv1/codelist/Sector.csv
# http://iatistandard.org/codelists/downloads/clv1/codelist/SectorCategory.csv
# http://iatistandard.org/codelists/downloads/clv1/codelist/OrganisationType.csv
# Remove contents of the codelists folder
rm codelists/*
cd codelists
# Perform the loop to get each codelist
for codelist_name in "Country" "Region" "Sector" "SectorCategory" "OrganisationType"; do
wget "http://iatistandard.org/codelists/downloads/clv1/codelist/$codelist_name.csv"
done
# Go back to the root directory
cd ../