Learn R Programming

fipe (version 0.0.1)

fipe_vehicle: Access to the Fipe Database

Description

Access to the Fipe Database

Usage

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<U+2019>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

Official Website https://veiculos.fipe.org.br.

Examples

Run this code
# NOT RUN {
fipe_vehicle(
  model = "etios platinum", make = "toyota",
  date = "2019-08-01", year = c(0, 2019, 2018)
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab