Package: rfars 2.0.4

Steve Jackson

rfars: Download and Analyze Crash Data

Easily Download Analysis-Ready Crash Data from the U.S. National Highway Traffic Safety Administration.

Authors:Steve Jackson [aut, cre]

rfars_2.0.4.tar.gz
rfars_2.0.4.zip(r-4.7)rfars_2.0.4.zip(r-4.6)rfars_2.0.4.zip(r-4.5)
rfars_2.0.4.tgz(r-4.6-any)rfars_2.0.4.tgz(r-4.5-any)
rfars_2.0.4.tar.gz(r-4.6-any)rfars_2.0.4.tar.gz(r-4.5-any)
rfars_2.0.4.tgz(r-4.5-emscripten)
rfars.pdf |rfars.html
rfars/json (API)
NEWS

# Install 'rfars' in R:
install.packages('rfars', repos = c('https://s87jackson.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/s87jackson/rfars/issues

Pkgdown/docs site:https://s87jackson.github.io

Datasets:

On CRAN:

Conda:

crashfatalitiesofficial-statisticstransportation

6.68 score 12 stars 20 scripts 299 downloads 5 exports 39 dependencies

Last updated from:6461b7230e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK250
source / vignettesOK291
linux-release-x86_64OK211
macos-release-arm64OK153
macos-oldrel-arm64OK189
windows-develOK190
windows-releaseOK169
windows-oldrelOK189
wasm-releaseOK148

Exports:%>%compare_countscountsget_farsget_gescrss

Dependencies:bitbit64clicliprcpp11crayondata.tabledigestdownloaderdplyrforcatsgenericsgluehavenhmsjanitorlifecyclelubridatemagrittrpillarpkgconfigprettyunitsprogresspurrrR6readrrlangsnakecasestringistringrtibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithr

Alcohol Counts

Rendered fromAlcohol_Counts.Rmdusingknitr::rmarkdownon Apr 07 2026.

Last update: 2026-04-07
Started: 2025-08-19

Counts

Rendered fromCounts.Rmdusingknitr::rmarkdownon Apr 07 2026.

Last update: 2025-10-22
Started: 2024-02-15

Crash Sequence of Events

Rendered fromCrash_sequence_of_events.Rmdusingknitr::rmarkdownon Apr 07 2026.

Last update: 2026-04-07
Started: 2023-08-08

Searchable Codebooks

Rendered fromSearchable_Codebooks.Rmdusingknitr::rmarkdownon Apr 07 2026.

Last update: 2026-04-07
Started: 2024-02-15

Readme and manuals

Help Manual

Help pageTopics
(Internal) Find crashes involving alcoholalcohol
Annual Crash Counts by Risk Factorsannual_counts
(Internal) Append RDS filesappendRDS
(Internal) Find crashes involving bicyclistsbicyclist
(Internal) Check internet connectioncheck_internet_connection
Compare countscompare_counts
Generate countscounts
(Internal) Find crashes involving distracted driversdistracted_driver
(Internal) Download FARS data filesdownload_fars
(Internal) Download GES/CRSS data filesdownload_gescrss
(Internal) Find crashes involving drivers of a given agedriver_age
(Internal) Find crashes involving drugsdrugs
FARS Codebookfars_codebook
Synonym table for various geographical scalesgeo_relations
GESCRSS Codebookgescrss_codebook
Get FARS dataget_fars
Get GES/CRSS dataget_gescrss
(Internal) Check SAS attributesget_sas_attrs
(Internal) Find hit and run crasheshit_and_run
(Internal) Import the multi_ filesimport_multi
(Internal) Find crashes involving large truckslarge_trucks
(Internal) Make id and year numericmake_all_numeric
(Internal) Generate an ID variablemake_id
(Internal) Find crashes involving motorcyclesmotorcycle
(Internal) Parse formats.sas instead of using a .sas7bcat fileparse_sas_format
(Internal) Find crashes involving pedalcyclistspedalcyclist
(Internal) Find crashes involving pedstrians or bicyclistspedbike
(Internal) Find crashes involving pedestrianspedestrian
(Internal) Find crashes involving police pursuitspolice_pursuit
Prepare downloaded FARS files for useprep_fars
Prepare downloaded GES/CRSS files for useprep_gescrss
(Internal) Takes care of basic SAS file readingread_basic_sas
(Internal) Find crashes involving road departuresroad_depart
(Internal) Find crashes involving rolloversrollover
(Internal) Find crashes involving speedingspeeding
(Internal) Use FARS data filesuse_fars
(Internal) Use GESCRSS data filesuse_gescrss
(Internal) use_impuse_imp
(Internal) Validate user-provided list of statesvalidate_states