Traffic fatality datasets for Austin, TX.
The traffic fatality reports pusblished by APD are hosted on their website for 2 years. Past this point they are archived and are not publicly accessible anymore.
The data sets named fatalities-{year}-raw.json are generated directly from ScrAPD without any manual intervention.
The only exception is when merging data that is not available publicly anymore (see details in the section above) and
cannot be retrieved by ScrAPD.
The data sets named fatalities-{year}-enhanced.json are datasets that have been enhanced, manually or automatically,
in order to improve the quality of the data. Data from other sources may also have been included in these data sets.
The data sets whose year is all are a combination of all the dataset of the same category.
There are generated using the following jq command:
jq -s add fatalities-201{7..9}-raw.json > fatalities-all-raw.jsonA full update happened when ScrAPD 1.5.0 was updated as it drastically improved the quality of the data which was retrieved.
As a result, all the data sets were updated with the following command:
for i in {7..9}; do python tools/scrapd-merger.py -i fatalities-201${i}-raw.json <(scrapd -v --format json --from "Jan 1 201${i}" --to "Dec 31 201${i}"); done