knitr::opts_chunk$set( collapse = TRUE, warning = FALSE, message = FALSE, comment = "#>", fig.path = "man/figures/README-", fig.retina = 3 )
This package contains some tidy formatted data on vehicle production and sales from the Organisation Internationale des Constructeurs d'Automobiles (OICA) (English Name: "International Organization of Motor Vehicle Manufacturers"). The data sets are also merged with standard country / area codes come from the United Nations Statistics Division. The package contains the following data sets:
Name | Description
-----|-------------
production
| Vehicle production statistics by country and type
sales_country
| Vehicle sales statistics by country and type
sales_region
| Vehicle sales statistics by region and type
The current version is not yet on CRAN, but you can install it from Github using the {remotes} library:
# install.packages("remotes") remotes::install_github("jhelvy/oica")
Load the library with:
library("oica")
Once loaded, you can work with any of the three data sets. You can find out more about each data set using ?
, e.g., ?production
.
Here is a quick preview of each data frame:
head(production) head(sales_country) head(sales_region)
If you use this package for in a publication, I would greatly appreciate it if you cited it - you can get the citation by typing citation("oica")
into R:
citation("oica")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.