powered by
This function allows you to create 3 sorts of visuals: line, bar and point charts.
irir_visual( country = "CAN", chart = "bar_1", title = TRUE, years = as.numeric(max(IRI_data$year)) )
The Country ISO code
Type of charts
Chart title, set by default to TRUE
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.
irir_country
irir_industry
irir_indicator
irir_company
irir_data
# NOT RUN { irir_visual(country = "CAN", chart = "bar_1", title = TRUE, years = 2019) # }
Run the code above in your browser using DataLab