This package is a data source that provides a licensed drivers dataset from the Brazilian Ministry of Transport.
You can install the development version of driversbr
from Github:
# install.packages("devtools")
devtools::install_github("jotasaraiva/driversbr")
This is a basic example of the data provided:
library(driversbr)
utils::head(drivers, 10)
#> regiao uf sexo faixa_etaria ano categoria_cnh condutores
#> 1 Centro-Oeste DF Masculino 18 a 21 2023 categoria_a 127
#> 2 Centro-Oeste DF Masculino 18 a 21 2023 categoria_ab 10657
#> 3 Centro-Oeste DF Masculino 18 a 21 2023 categoria_ac 8
#> 4 Centro-Oeste DF Masculino 18 a 21 2023 categoria_ad 31
#> 5 Centro-Oeste DF Masculino 18 a 21 2023 categoria_ae 2
#> 6 Centro-Oeste DF Masculino 18 a 21 2023 categoria_b 16875
#> 7 Centro-Oeste DF Masculino 18 a 21 2023 categoria_c 6
#> 8 Centro-Oeste DF Masculino 18 a 21 2023 categoria_d 11
#> 9 Centro-Oeste DF Masculino 18 a 21 2023 categoria_e NA
#> 10 Centro-Oeste DF Masculino 18 a 21 2023 categoria_x NA
This package can be cited as follows:
citation("driversbr")
#> To cite package 'driversbr' in publications use:
#>
#> Saraiva JPM, Santos PAB (2024). _driversbr: Licensed drivers data
#> from the Brazilian Ministry of Transport_.
#> https://github.com/jotasaraiva/driversbr,
#> https://jotasaraiva.github.io/driversbr/.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {driversbr: Licensed drivers data from the Brazilian Ministry of Transport},
#> author = {João Pedro Melani Saraiva and Pedro Augusto Borges Santos},
#> year = {2024},
#> note = {https://github.com/jotasaraiva/driversbr, https://jotasaraiva.github.io/driversbr/},
#> }