format_vehicles: Format STATS19 vehicles data

View source: R/format.R

format_vehiclesR Documentation

Format STATS19 vehicles data

Description

Format STATS19 vehicles data

Usage

format_vehicles(x)

Arguments

x

Data frame created with read_vehicles()

Details

This function formats raw STATS19 data

Examples


if(curl::has_internet()) {
dl_stats19(year = 2022, type = "vehicle", ask = FALSE)
x = read_vehicles(year = 2022, format = FALSE)
vehicles = format_vehicles(x)
}


ropensci/stats19 documentation built on Jan. 14, 2025, 6:34 p.m.