Skip to contents

Get data

Download PRF datasets as tidy tibbles (cached locally after first use).

get_accidents()
Get PRF accident data by person
get_crashes()
Get PRF accident data by occurrence
get_violations()
Get PRF infraction data

Variable descriptions

Codebook for each dataset, in English or Portuguese.

info_accidents()
Variable descriptions for get_accidents()
info_crashes()
Variable descriptions for get_crashes()
info_violations()
Variable descriptions for get_violations()
codebook
Variable codebook for tidyprf datasets

Catalog and cache

prf_years()
Show years available in the PRF catalog
prf_cache()
Show locally cached PRF data files
prf_cache_clear()
Delete locally cached PRF data files