Skip to content

Commit

Permalink
Schema CL for Mean commute time to work by gender and commute mode by…
Browse files Browse the repository at this point in the history
… gender.

ACS5yr - Subject table S0801

PiperOrigin-RevId: 565089220
  • Loading branch information
Data Commons authored and copybara-github committed Oct 12, 2023
1 parent 52578df commit 131863d
Show file tree
Hide file tree
Showing 5 changed files with 3,291 additions and 1 deletion.
129 changes: 129 additions & 0 deletions core/census_enums.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2306,3 +2306,132 @@ 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"
description: "Residing in a particular place while working in the same or different place"

Node: dcid:NotLivingInAPlace
typeOf: dcs:USC_PlaceOfWorkEnum
name: "NotLivingInAPlace"
description: "Not residing in a particular place while working"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Node: dcid:Hour0900To2359
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:WorkedFromHome
typeOf: dcid:USC_CommuteModeEnum
description: "The worked from home phrace has started from covid period and it is for a short time."
name: "WorkedFromHome"
20 changes: 20 additions & 0 deletions core/census_properties.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -573,3 +573,23 @@ 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: schema:Property
name: "commuteStartTime"
rangeIncludes: dcid:TimeUnitOfMeasure

Node: dcid:numberOfVehiclesInHousehold
typeOf: schema:Property
name: "numberOfVehiclesInHousehold"
rangeIncludes: Quantity
10 changes: 10 additions & 0 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2237,6 +2237,16 @@ typeOf: dcs:WorkerClassificationEnum
description: "This includes people who worked without pay in a business or on a farm operated by a relative. Note that, on tabulations with earnings data, unpaid family workers may have earnings."
specializationOf: dcs:UnincorporatedBusinessOwnerOrUnpaidFamilyWorker

Node: dcid:GovernmentWorkers
typeOf: dcs:WorkerClassificationEnum
name: "Government Workers"
specializationOf: dcs:PaidWorker

Node: dcid:PrivateWageSalaryWorkers
typeOf: dcs:WorkerClassificationEnum
name: "Private Wages Salary Workers"
specializationOf: dcs:PaidWorker

Node: dcid:EnrolledInEducationOrTraining
typeOf: dcs:EnrollmentStatusEnum
name: "EnrolledInEducationOrTraining"
Expand Down
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
Loading

0 comments on commit 131863d

Please sign in to comment.