Description Usage Arguments Value See Also Examples
This function allows you to create 3 sorts of visuals: line, bar and point charts.
1 2 3 4 5 6 | irir_visual(
country = "CAN",
chart = "bar_1",
title = TRUE,
years = as.numeric(max(IRI_data$year))
)
|
country |
The Country ISO code |
chart |
Type of charts |
title |
Chart title, set by default to TRUE |
years |
Year, only works for bar chart and set by default to max year of IRI's data |
Chosen Graph
irir_country
for the IRI's country code, irir_industry
for the IRI's industries name, irir_indicator
for the IRI's indicators, irir_company
for the IRI's companies name and irir_data
to collect the data.
1 | irir_visual(country = "CAN", chart = "bar_1", title = TRUE, years = 2019)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.