Skip to content

Commit

Permalink
Schema CL for Mean commute time to work by gender and commute mode.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 565089220
  • Loading branch information
Data Commons authored and copybara-github committed Sep 14, 2023
1 parent 0e14d7d commit 758a22a
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 1 deletion.
170 changes: 170 additions & 0 deletions core/census_enums.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2306,3 +2306,173 @@ Node: dcid:PermanentResident
typeOf: dcs:ResidentStatusEnum
specializationOf: dcs:Resident
name: "PermanentResident"

Node: dcid:CommuteTypeEnum
typeOf: dcid:Class
subClassOf: schema:Enumeration
name: "CommuteTypeEnum"

Node: dcid:WorkCommute
typeOf: dcid:CommuteTypeEnum
name: "WorkCommute"
description: "To travel to work"

Node: dcid:LivingInAPlace
typeOf: dcs:USC_PlaceOfWorkEnum
name: "LivingInAPlace"

Node: dcid:NotLivingInAPlace
typeOf: dcs:USC_PlaceOfWorkEnum
name: "NotLivingInAPlace"

Node: dcid:OutsideCountyOfResidence
typeOf: dcs:USC_PlaceOfWorkEnum
name: "OutsideCountyOfResidence"

Node: dcid:OutsidePlaceOfResidence
typeOf: dcs:USC_PlaceOfWorkEnum
name: "OutsidePlaceOfResidence"

Node: dcid:OutsideStateOfResidence
typeOf: dcs:USC_PlaceOfWorkEnum
name: "OutsideStateOfResidence"

Node: dcid:WithinCountyOfResidence
typeOf: dcs:USC_PlaceOfWorkEnum
name: "WithinCountyOfResidence"

Node: dcid:WithinPlaceOfResidence
typeOf: dcs:USC_PlaceOfWorkEnum
name: "WithinPlaceOfResidence"

Node: dcid:WithinStateOfResidence
typeOf: dcs:USC_PlaceOfWorkEnum
name: "WithinStateOfResidence"

Node: dcid:WorkFromOffice
typeOf: dcs:USC_PlaceOfWorkEnum
name: "WorkFromOffice"

Node: dcid:InHousehold
typeOf: USC_ResidenceTypeEnum
name: "InHousehold"

Node: dcid:AvailableVehicles3Onwards
typeOf: Quantity
unitOfMeasure: dcid:AvailableVehicles

Node: dcid:MinuteUpto10
typeOf: dcid:TimeUnitOfMeasure
name: "MinuteUpto10"

Node: dcid:Minute10To14
typeOf: dcid:TimeUnitOfMeasure
name: "Minute10To14"

Node: dcid:Minute15To19
typeOf: dcid:TimeUnitOfMeasure
name: "Minute15To19"

Node: dcid:Minute20To24
typeOf: dcid:TimeUnitOfMeasure
name: "Minute20To24"

Node: dcid:Minute25To29
typeOf: dcid:TimeUnitOfMeasure
name: "Minute25To29"

Node: dcid:Minute30To34
typeOf: dcid:TimeUnitOfMeasure
name: "Minute30To34"

Node: dcid:Minute35To44
typeOf: dcid:TimeUnitOfMeasure
name: "Minute35To44"

Node: dcid:Minute45To59
typeOf: dcid:TimeUnitOfMeasure
name: "Minute45To59"

Node: dcid:Minute60OrMore
typeOf: dcid:TimeUnitOfMeasure
name: "Minute60OrMore"

Node: dcid:0000To0459
typeOf: dcs:QuantityRange
startValue: "00:00"
endValue: "04:59"
unit: Hour

Node: dcid:0500To0529
typeOf: dcs:QuantityRange
startValue: "05:00"
endValue: "05:29"
unit: Hour

Node: dcid:0530To0559
typeOf: dcs:QuantityRange
startValue: "05:30"
endValue: "05:59"
unit: Hour

Node: dcid:0600To0629
typeOf: dcs:QuantityRange
startValue: "06:00"
endValue: "06:29"
unit: Hour

Node: dcid:0630To0659
typeOf: dcs:QuantityRange
startValue: "06:30"
endValue: "06:59"
unit: Hour

Node: dcid:0700To0729
typeOf: dcs:QuantityRange
startValue: "07:00"
endValue: "07:29"
unit: Hour

Node: dcid:0730To0759
typeOf: dcs:QuantityRange
startValue: "07:30"
endValue: "07:59"
unit: Hour

Node: dcid:0800To0829
typeOf: dcs:QuantityRange
startValue: "08:00"
endValue: "08:29"
unit: Hour

Node: dcid:0830To0859
typeOf: dcs:QuantityRange
startValue: "08:30"
endValue: "08:59"
unit: Hour

Node: dcid:0900To2359
typeOf: dcs:QuantityRange
startValue: "09:00"
endValue: "23:59"
unit: Hour

Node: dcid:Bicycle
typeOf: dcid:USC_CommuteModeEnum
name: "Bicycle"

Node: dcid:CarTruckOrVan
typeOf: dcid:USC_CommuteModeEnum
name: "CarTruckOrVan"

Node: dcid:DroveAlone
typeOf: dcid:USC_CommuteModeEnum
name: "DroveAlone"

Node: dcid:DroveAlone
typeOf: dcid:USC_CommuteModeEnum
name: "DroveAlone”

Node: dcid:WorkedFromHome
typeOf: dcid:USC_CommuteModeEnum
name: "WorkedFromHome"
18 changes: 18 additions & 0 deletions core/census_properties.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -573,3 +573,21 @@ rangeIncludes: dcs:TransportationTypeEnum
domainIncludes: dcid:Household, dcid:Person
name: "transportationType"
description: "Transportation type used by Household/Person."

Node: dcid:carpoolOccupancy
typeOf: dcid:QuantityRange
name: "carpoolOccupancy"
description: "The count of people carpooling to work"

Node: dcid:commuteType
typeOf: schema:Property
name: "commuteType"
rangeIncludes: dcid:CommuteTypeEnum

Node: dcid:commuteStartTime
typeOf: dcid:TimeUnitOfMeasure
name: "commuteStartTime"

Node: dcid:numberOfVehiclesInHousehold
typeOf: schema:Property
name: "numberOfVehiclesInHousehold”
2 changes: 1 addition & 1 deletion core/schema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -9389,7 +9389,7 @@ Node: occupancy
dcid: "occupancy"
name: "occupancy"
typeOf: schema:Property
domainIncludes: schema:SingleFamilyResidence
domainIncludes: schema:SingleFamilyResidence, schema:Vehicle
source: "https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources"
rangeIncludes: schema:QuantitativeValue

Expand Down

0 comments on commit 758a22a

Please sign in to comment.