gvcr_data: gvcr_data

Description Usage Arguments Value See Also Examples

View source: R/gvcR.R

Description

This function allows you to find and display the Global Value Chains Risks data according to the selected parameters. If no arguments are filled, all data will be displayed.

Usage

1
2
3
4
5
6
gvcr_data(
  locations = gvc_location,
  risks = gvc_risk,
  levels = gvc_level,
  category = gvc_category
)

Arguments

locations

Location of the risk.

risks

Global value chain risk.

levels

Level of the risk.

category

Category of the risk.

Value

Data for the location, risk, level and risk category requested.

See Also

gvcr_location for the locations list and gvcr_risk for the code of a risk.

Examples

1
2
3
4
5
6
myData<- gvcr_data(location = "Panama Canal", risks = "S-T")
myData<- gvcr_data(location = c("Panama Canal", "Suez Canal"), risks = c("S-T", "S-C"))
myData<- gvcr_data(category = "Weather and climate risk")
myData<- gvcr_data(levels = "High risk")
myData<- gvcr_data("Panama Canal", "S-T")
myData<- gvcr_data()

warint/gvcR documentation built on Dec. 23, 2021, 5:08 p.m.