Package: rfars 1.2.0

Steve Jackson

rfars: Download and Analyze Crash Data

Download crash data from the National Highway Traffic Safety Administration and prepare it for research.

Authors:Steve Jackson [aut, cre]

rfars_1.2.0.tar.gz
rfars_1.2.0.zip(r-4.5)rfars_1.2.0.zip(r-4.4)rfars_1.2.0.zip(r-4.3)
rfars_1.2.0.tgz(r-4.4-any)rfars_1.2.0.tgz(r-4.3-any)
rfars_1.2.0.tar.gz(r-4.5-noble)rfars_1.2.0.tar.gz(r-4.4-noble)
rfars_1.2.0.tgz(r-4.4-emscripten)rfars_1.2.0.tgz(r-4.3-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'))

Peer review:

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

Datasets:

On CRAN:

crashfatalitiesofficial-statisticstransportation

5.83 score 10 stars 15 scripts 266 downloads 5 exports 43 dependencies

Last updated 8 months agofrom:eea7958c11. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winOKNov 02 2024
R-4.5-linuxOKNov 02 2024
R-4.4-winOKNov 02 2024
R-4.4-macOKNov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:%>%compare_countscountsget_farsget_gescrss

Dependencies:bitbit64clicliprcpp11crayondata.tabledigestdownloaderdplyrfansiforcatsgenericsgluehavenhmsjanitorlatticelifecyclelubridatemagrittrpillarpkgconfigprettyunitsprogresspurrrR6readrrlangsas7bdatsnakecasestringistringrtibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithrzoo

Counts

Rendered fromCounts.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-02-15
Started: 2024-02-15

Crash Sequence of Events

Rendered fromCrash_sequence_of_events.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-02-15
Started: 2023-08-08

Searchable Codebooks

Rendered fromSearchable_Codebooks.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-02-21
Started: 2024-02-15

Readme and manuals

Help Manual

Help pageTopics
(Internal) Find crashes involving alcoholalcohol
(Internal) Append RDS filesappendRDS
(Internal) Label unlabelled values in imported SAS filesauto_label_unlabeled_values
(Internal) Find crashes involving bicyclistsbicyclist
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) 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) 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) Takes care of basic SAS file reading when the bcat file creates an issueread_basic_sas_nocat
(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