Skip to content

plmex/fleetbr

 
 

Repository files navigation

fleetbr fleetbr website

R-CMD-check Lifecycle: stable

The goal of fleetbr is to provide a dataset of nationwide vehicle counts by state and mode of transportation in Brazil, provided by the Brazilian Ministry of Transport.

The dataset is provided in tibble format.

Installation

You can install the development version of fleetbr from GitHub with:

# install.packages("devtools")
devtools::install_github("jotasaraiva/fleetbr")

Example

This is a basic example which shows how the data is displayed:

library(fleetbr)

head(fleetbr, 15)
#>    uf mes  ano           modal  frota
#> 1  AC   1 2011           TOTAL 152592
#> 2  AC   1 2011       AUTOMOVEL  51188
#> 3  AC   1 2011           BONDE      0
#> 4  AC   1 2011        CAMINHAO   5180
#> 5  AC   1 2011 CAMINHAO TRATOR    436
#> 6  AC   1 2011     CAMINHONETE  14719
#> 7  AC   1 2011       CAMIONETA   2630
#> 8  AC   1 2011   CHASSI PLATAF     12
#> 9  AC   1 2011      CICLOMOTOR     10
#> 10 AC   1 2011    MICRO-ONIBUS    174
#> 11 AC   1 2011     MOTOCICLETA  62683
#> 12 AC   1 2011        MOTONETA  12448
#> 13 AC   1 2011          ONIBUS    584
#> 14 AC   1 2011     QUADRICICLO      0
#> 15 AC   1 2011         REBOQUE   1180

Citation

This package can be cited as follows:

citation("fleetbr")
#> To cite package 'fleetbr' in publications use:
#> 
#>   Saraiva JPM, Santos PAB (2024). _fleetbr: Brazilian Vehicle Fleet
#>   Dataset_. https://jotasaraiva.github.io/fleetbr/,
#>   https://github.com/jotasaraiva/fleetbr.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {fleetbr: Brazilian Vehicle Fleet Dataset},
#>     author = {João Pedro Melani Saraiva and Pedro Augusto Borges Santos},
#>     year = {2024},
#>     note = {https://jotasaraiva.github.io/fleetbr/, https://github.com/jotasaraiva/fleetbr},
#>   }

About

Brazilian Vehicle Fleet Data Package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 100.0%