datatrade_NorthAm {qPRAentry} | R Documentation |
Example Trade Data for Northern America
Description
Simulated trade data for a commodity within Northern America. This dataset illustrates the trade and production flow of a commodity that could serve as a potential pathway for the entry of a pest into Northern American countries. The data is organised in three-month periods within a year. It also includes simulated consumption data of the commodity at at the level of principal sub-national divisions (ISO 3166-2 codes). This dataset serves as a reference on how the data should be structured and provides the basis for the examples included in the qPRAentry package to deal with the ISO 3166 code system (ISO 3166 Maintenance Agency).
Usage
datatrade_NorthAm
Format
A list of four data frames:
-
extra_import
Data on imports from countries outside of Northern America. A data frame with 100 rows and 4 columns:reporter
ISO 3166-1 alpha-2 code of the importing country. partner
ID of the exporting country, coded as "CNTR_1" to "CNTR_5" to represent specific non-Northern American countries. time_period
Time period of trade, in three-month periods ("January-March", "April-June", "July-September", "October-December"). value
Quantity of the commodity imported.
-
intra_trade
Data on internal trade within Northern American countries. A data frame with 80 rows and 4 columns:reporter
ISO 3166-1 alpha-2 code of the importing country. partner
ISO 3166-1 alpha-2 code of the exporting country. time_period
Time period of trade, in three-month periods ("January-March", "April-June", "July-September", "October-December"). value
Quantity of the commodity imported.
-
internal_production
Data on the internal production of the commodity within Northern America. A data frame with 20 rows and 3 columns:reporter
ISO 3166-1 alpha-2 code of the producing country. time_period
Time period of trade, in three-month periods ("January-March", "April-June", "July-September", "October-December"). value
Quantity of the commodity produced.
-
consumption_iso2
Data on the consumption of the commodity in Northern America at ISO 3166-2 level (principal subdivisions of countries). A data frame with 83 rows and 2 columns:iso_3166_2
ISO 3166-2 code of the subdivision. value
Quantity of the commodity consumed.