Skip to content

Commit

Permalink
Data Manifest CL for US Electric Vehicle Sales Data at National Level.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 560730293
  • Loading branch information
Data Commons authored and copybara-github committed Sep 19, 2023
1 parent 1f11a40 commit e38cc80
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 0 deletions.
66 changes: 66 additions & 0 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,58 @@ typeOf: dcs:Property
name: "amountOutstanding"
domainIncludes: dcid:Debt

# TODO(ajaits): add descriptions to new properties
Node: dcid:lendingEntity
typeOf: dcs:Property
name: "lendingEntity"
domainIncludes: dcid:Debt
rangeIncludes: dcid:LendingEntityEnum,dcid:Country

Node: dcid:amountPrincipalRepayment
typeOf: dcs:Property
name: "amountPrincipalRepayment"
domainIncludes: dcid:Debt

Node: dcid:debtType
typeOf: dcs:Property
name: "debtType"
domainIncludes: dcid:Debt
rangeIncludes: dcid:DebtTypeEnum

Node: dcid:debtGuaranteeStatus
typeOf: dcs:Property
name: "debtGuaranteeStatus"
domainIncludes: dcid:Debt
rangeIncludes: dcid:DebtGuaranteeStatusEnum

Node: dcid:debtCreditorType
typeOf: dcs:Property
name: "debtCreditorType"
domainIncludes: dcid:Debt
rangeIncludes: dcid:DebtCreditorTypeEnum

Node: dcid:debtInstrument
typeOf: dcs:Property
name: "debtInstrument"
domainIncludes: dcid:Debt
rangeIncludes: dcid:DebtInstrumentEnum,dcid:Class

Node: dcid:debtFinancer
typeOf: dcs:Property
name: "debtFinancer"
domainIncludes: dcid:Debt
rangeIncludes: dcid:DebtFinancerEnum

Node: dcid:amountInterestRepayment
typeOf: dcs:Property
name: "amountInterestRepayment"
domainIncludes: dcid:Debt

Node: dcid:amountOutstanding
typeOf: dcs:Property
name: "amountOutstanding"
domainIncludes: dcid:Debt

# TODO(ajaits): add descriptions to new properties
Node: dcid:totalIndivContrib
name: totalIndivContrib
Expand Down Expand Up @@ -1762,6 +1814,7 @@ Node: SquareKilometer
typeOf: dcid:AreaUnitOfMeasure
name: "SquareKilometer"
shortDisplayName: "km²"
shortDisplayName: "km²"
dcid: "SquareKilometer"
description: "An area equal to a square with each side length equivalent to one kilometer."

Expand Down Expand Up @@ -1839,6 +1892,12 @@ name: "currency"
domainIncludes: dcid:Debt
rangeIncludes: dcid:Currency, dcid:OneOrg_CurrencyEnum

Node: dcid:currency
typeOf: dcs:Property
name: "currency"
domainIncludes: dcid:Debt
rangeIncludes: dcid:Currency, dcid:OneOrg_CurrencyEnum

Node: dcid:USDollar
typeOf: dcs:CurrencyUnitOfMeasure
name: "USDollar"
Expand Down Expand Up @@ -3329,3 +3388,10 @@ name: "footnote"
description: "Footnote for a StatisticalVariable."
domainIncludes: dcs:StatisticalVariable
rangeIncludes: dcs:Text

Node: dcid:vehicleFuelType
typeOf: dcs:Property
name: "vehicleFuelType"
domainIncludes: dcid:Vehicle
rangeIncludes: dcid:VehicleFuelTypeEnum
isProvisional: dcs:True
5 changes: 5 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -509,3 +509,8 @@ Node: dcid:OneOrg_CurrencyEnum
typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "OneOrg_CurrencyEnum"

Node: dcid:VehicleFuelTypeEnum
typeOf:Class
subClassOf:Enumeration
name: "VehicleFuelTypeEnum"
15 changes: 15 additions & 0 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2776,3 +2776,18 @@ name: "Above 185 percent of Federal Poverty Line"
Node: dcid:Below185PercentOfFederalPovertyLine
typeOf: dcs:HouseholdIncomeEnum
name: "Below 185 percent of Federal Poverty Line"

Node: dcid:HybridElectric
typeOf: dcid:VehicleFuelTypeEnum
name: "HybridElectric"
isProvisional: dcs:True

Node: dcid:PlugInHybridElectric
typeOf: dcid:VehicleFuelTypeEnum
name: "PlugInHybridElectric"
isProvisional: dcs:True

Node: dcid:Electric
typeOf: dcid:VehicleFuelTypeEnum
name: "Electric"
isProvisional: dcs:True
21 changes: 21 additions & 0 deletions stat_vars/us_electric_vehicle_sales_statvar.mcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Node: dcid:Sales_Vehicle_Electric
typeOf: dcid:StatisticalVariable
populationType: dcid:Vehicle
measuredProperty: dcid:sales
statType: dcid:measuredValue
vehicleFuelType: dcid:Electric

Node: dcid:Sales_Vehicle_HybridElectric
typeOf: dcid:StatisticalVariable
populationType: dcid:Vehicle
measuredProperty: dcid:sales
statType: dcid:measuredValue
vehicleFuelType: dcid:HybridElectric

Node: dcid:Sales_Vehicle_PlugInHybridElectric
typeOf: dcid:StatisticalVariable
populationType: dcid:Vehicle
measuredProperty: dcid:sales
statType: dcid:measuredValue
vehicleFuelType: dcid:PlugInHybridElectric

0 comments on commit e38cc80

Please sign in to comment.