Access to the Fipe Database

fipe_vehicle(model, make = NULL, year = NULL, date = Sys.Date(),
  progress = FALSE, parallel = FALSE)

Arguments

model

a character vector. Vehicle model name.

make

a character vector. If NULL, search all models in all makes, otherwise only those indicated.

year

a numeric vector. Year of manufacture of the vehicle. If 0 returns vehicles 0 km.

date

a date vector. Reference date for the vehicle price.

progress

a logical, if TRUE print a progress bar.

parallel

a logical, if TRUE apply function in parallel.

Value

A data frame/tibble including model, make, year, date and price.

Details

The Fipe Database shows the average purchase price of vehicles in the Brazilian national market. The prices are effectively used in purchase negotiations according to region, vehicle’s conservation, color, accessories or any other factor that might influence the demand and supply for a specific vehicle. The year of the vehicle refers to the model year, and the vehicles are not considered for professional or special use. The values are expressed in R$ (reais) for each month/year of reference.

See also

Examples

fipe_vehicle( model = "etios platinum", make = "toyota", date = "2019-08-01", year = c(0, 2019, 2018) )
#> # A tibble: 6 x 5 #> model make year date price #> <chr> <chr> <fct> <date> <dbl> #> 1 ETIOS PLATINUM 1.5 Flex 16V 4p Aut. Toyota 0 km 2019-08-01 63127 #> 2 ETIOS PLATINUM 1.5 Flex 16V 4p Aut. Toyota 2019 2019-08-01 58616 #> 3 ETIOS PLATINUM 1.5 Flex 16V 4p Aut. Toyota 2018 2019-08-01 54512 #> 4 ETIOS PLATINUM Sed. 1.5 Flex 16V 4p Aut. Toyota 0 km 2019-08-01 66080 #> 5 ETIOS PLATINUM Sed. 1.5 Flex 16V 4p Aut. Toyota 2019 2019-08-01 59610 #> 6 ETIOS PLATINUM Sed. 1.5 Flex 16V 4p Aut. Toyota 2018 2019-08-01 55736