irir_visual: irir_visual

Description Usage Arguments Value See Also Examples

View source: R/iriR.R

Description

This function allows you to create 3 sorts of visuals: line, bar and point charts.

Usage

1
2
3
4
5
6
irir_visual(
  country = "CAN",
  chart = "bar_1",
  title = TRUE,
  years = as.numeric(max(IRI_data$year))
)

Arguments

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

Value

Chosen Graph

See Also

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.

Examples

1
irir_visual(country = "CAN", chart = "bar_1", title = TRUE, years = 2019)

iriR documentation built on April 22, 2021, 9:07 a.m.