From d686418e38836daf2709f459d9304fb896a7e255 Mon Sep 17 00:00:00 2001 From: Data Commons Date: Thu, 23 Nov 2023 01:15:48 -0800 Subject: [PATCH] Schema CL and Data Manifest CL for Two Way Trade (import and export) between US and different countries annually for different years. PiperOrigin-RevId: 584823973 --- core/energy.mcf | 13 ++ core/naics_enums.mcf | 10 + core/wto_trade_schema.mcf | 8 +- stat_vars/us_ita_two_way_trade.mcf | 304 +++++++++++++++++++++++++++++ 4 files changed, 334 insertions(+), 1 deletion(-) create mode 100644 stat_vars/us_ita_two_way_trade.mcf diff --git a/core/energy.mcf b/core/energy.mcf index a7ba5b12f..c4638c136 100644 --- a/core/energy.mcf +++ b/core/energy.mcf @@ -151,6 +151,19 @@ rangeIncludes: schema:Quantity domainIncludes: schema:Electricity, schema:Energy, schema:Fuel name: "exports" +Node: dcid:twowayTrade +typeOf: schema:Property +rangeIncludes: schema:Quantity +domainIncludes: schema:Coal, schema:Electricity, schema:Energy, schema:Fuel, dcid:EconomicActivity +name: "twowayTrade" +description:"Total export and import" + +###US ITA Addition +Node: dcid:tradePartner +typeOf: dcs:Property +name: "tradePartner" +rangeIncludes: dcid:Country + Node: dcid:reserves typeOf: schema:Property rangeIncludes: schema:Quantity diff --git a/core/naics_enums.mcf b/core/naics_enums.mcf index b791e2ae6..3f66785b2 100644 --- a/core/naics_enums.mcf +++ b/core/naics_enums.mcf @@ -15126,3 +15126,13 @@ name: "State and local government education" Node: dcid:NAICS/JOLTS_929000 typeOf: dcs:NAICSEnum name: "State and local government excluding education" + +Node: dcid:NAICS/980 +typeOf: dcid:NAICSEnum +name: "Goods Returned (Exports for Canada Only)" +dcid: "NAICS/980" + +Node: dcid:NAICS/990 +typeOf: dcid:NAICSEnum +name: "Other Special Classification Provisions" +dcid: "NAICS/990" diff --git a/core/wto_trade_schema.mcf b/core/wto_trade_schema.mcf index 98a9aaeec..0017bbcc2 100644 --- a/core/wto_trade_schema.mcf +++ b/core/wto_trade_schema.mcf @@ -2,7 +2,7 @@ Node: dcid:product typeOf: dcs:Property name: "product" domainIncludes: dcid:EconomicActivity -rangeIncludes: dcid:ProductEnum,dcid:FarmInventoryTypeEnum +rangeIncludes: dcid:ProductEnum,dcid:FarmInventoryTypeEnum,dcid:EconomicActivity isProvisional: dcs:True Node: dcid:ProductEnum @@ -30,6 +30,12 @@ domainIncludes: dcid:EconomicActivity rangeIncludes: dcid:Country,dcid:Place,dcid:ContinentalUnion isProvisional: dcs:True +###US ITA Addition +Node: dcid:tradePartner +typeOf: dcs:Property +name: "tradePartner" +rangeIncludes: dcid:Country + Node: dcid:RestOfTheWorld typeOf: dcid:Country name: "RestOfTheWorld" diff --git a/stat_vars/us_ita_two_way_trade.mcf b/stat_vars/us_ita_two_way_trade.mcf new file mode 100644 index 000000000..433ae32b3 --- /dev/null +++ b/stat_vars/us_ita_two_way_trade.mcf @@ -0,0 +1,304 @@ +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSBeverageAndTobaccoProductManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/312 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSTextileMills_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/313 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSTextileProductMills_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/314 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSApparelManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/315 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSLeatherAndAlliedProductManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/316 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSWoodProductManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/321 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSPaperManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/322 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSPrintinAndRelatedSupportActivities_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/323 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSPetroleumAndCoalProductsManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/324 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSChemicalManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/325 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSPlasticsAndRubberProductsManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/326 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSNonmetallicMineralProductManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/327 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSPrimaryMetalManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/331 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSFabricatedMetalProductManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/332 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSMachineryManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/333 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSComputerAndElectronicProductManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/334 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSElectricalEquipmentAndApplianceManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/335 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSTransportationEquipmentManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/336 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSFurnitureAndRelatedProductManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/337 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSMiscellaneousManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/339 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSCropProduction_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/111 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSPublishingIndustriesExceptInternet_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/511 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSWasteAndScrap_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/423930 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSUsedOrSecondHandMerchandise_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/453310 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSGoodsReturnedExportsForCanadaOnly_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/980 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSOtherSpecialClassificationProvisions_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/990 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSAnimalProductionAndAquaculture_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/112 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSForestryAndLogging_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/113 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSFishingHuntingAndTrapping_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/114 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSAgricultureAndForestrySupportActivities_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/115 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSOilAndGasExtraction_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/211 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSMiningExceptOilAndGas_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/212 +tradePartner: dcid:country/USA + +Node: dcid:Annual_TwowayTrade_EconomicActivity_NAICSFoodManufacturing_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:twowayTrade +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +naics: dcid:NAICS/311 +tradePartner: dcid:country/USA