Skip to content

Commit

Permalink
Ghana GHA Census at Country and Regional level.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 550856622
  • Loading branch information
Data Commons authored and copybara-github committed Dec 25, 2023
1 parent f85aeb3 commit 0adda34
Show file tree
Hide file tree
Showing 8 changed files with 1,720 additions and 11 deletions.
7 changes: 6 additions & 1 deletion core/census_enums.mcf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Node: USC_AbilityToSpeakEnglishEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
Expand Down Expand Up @@ -1040,6 +1039,12 @@ Node: dcid:CDC_MaritalStatusUnknownOrNotStated
typeOf: dcs:USC_MaritalStatusEnum
name: "CDC_MaritalStatusUnknownOrNotStated"

Node: dcid:Ghana_InformalOrConsensualUnion
typeOf: dcs:MaritalStatusEnum
name: "Ghana_InformalOrConsensualUnion"
description: "Consensual union refers to the situation when two persons belong to the same household, and have a ‘marriage-like’ relationship with each other, and are not married to or in a registered partnership with each other."
descriptionUrl: "https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Glossary:Consensual_union"

Node: NativityEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
Expand Down
6 changes: 2 additions & 4 deletions core/census_properties.mcf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Current Census properties (/cns/jv-d/home/datcom/tjann/census/pop_counters/topics-values.csv)

Node: abilityToSpeakEnglish
dcid: "abilityToSpeakEnglish"
typeOf: schema:Property
Expand Down Expand Up @@ -203,12 +201,12 @@ Node: levelOfSchool
dcid: "levelOfSchool"
name: "levelOfSchool"
typeOf: schema:Property
rangeIncludes: dcs:USC_LevelOfSchoolEnum, dcs:SecondarySchool
rangeIncludes: dcs:USC_LevelOfSchoolEnum, dcs:SecondarySchool, dcs:MiddleSchool
domainIncludes: dcs:Student

Node: maritalStatus
dcid: "maritalStatus"
rangeIncludes: dcs:USC_MaritalStatusEnum, dcs:MaritalStatusEnum
rangeIncludes: dcs:USC_MaritalStatusEnum, dcs:MaritalStatusEnum ,dcs:USC_SpouseAbsentReasonEnum
name: "maritalStatus"
typeOf: schema:Property
domainIncludes: schema:Person
Expand Down
15 changes: 13 additions & 2 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ dcid: "age"
name: "age"
typeOf: schema:Property
rangeIncludes: dcs:QuantityRange, schema:Number, dcs:AgeStatusEnum, dcs:SDG_AgeEnum
domainIncludes: schema:Person, schema:Organization, schema:Household
domainIncludes: schema:Person, schema:Organization, schema:Household, schema:Student

Node: employmentStatus
dcid: "employmentStatus"
Expand Down Expand Up @@ -2791,7 +2791,7 @@ Node: dcid:enrollmentLevel
typeOf: schema:Property
name: "enrollmentLevel"
description: "Identifies a person's enrollment level."
rangeIncludes: dcs:EnrollmentLevelEnum, dcs:SchoolGradeLevelEnum
rangeIncludes: dcs:EnrollmentLevelEnum, dcs:SchoolGradeLevelEnum, dcs:USC_EducationalAttainmentEnum
domainIncludes: schema:Person, dcs:Student

Node: dcid:workCategory
Expand Down Expand Up @@ -3721,3 +3721,14 @@ Node: dcid:GoodsSellingUsage
typeOf: dcid:InternetUsagePurposeEnum
name: "Goods Selling Usage"

Node: dcid:familymembertype
typeOf: dcs:Property
name: "familymembertype"
domainIncludes: dcid:Person
rangeIncludes: dcid:FamilymembertypeEnum,dcid:Class

Node: dcid:literateLanguage
typeOf: dcs:Property
name: "literateLanguage"
domainIncludes: dcid:Person
rangeIncludes: dcid:USC_LanguageSpokenAtHomeEnum
10 changes: 10 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -531,3 +531,13 @@ Node: dcid:JobStatusEnum
typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "JobStatusEnum"

Node: dcid:FamilymembertypeEnum
typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "FamilymembertypeEnum"

Node: dcid:ElectronicGadgetUsedEnum
typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "ElectronicGadgetUsedEnum"
84 changes: 84 additions & 0 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2852,3 +2852,87 @@ description: "Jobs saved under a program"
Node: dcid:EarlyEducation
typeOf: dcid:SchoolGradeLevelEnum
name: "Early Education"

Node: dcid:Head
typeOf: dcid:FamilymembertypeEnum
name: "Head"

Node: dcid:ParentOrParentInlaw
typeOf: dcid:FamilymembertypeEnum
name: "Parent Or Parent Inlaw"

Node: dcid:Spouse
typeOf: dcid:FamilymembertypeEnum
name: "Spouse"

Node: dcid:SonOrDaughterInLaw
typeOf: dcid:FamilymembertypeEnum
name: "Son Or Daughter In Law"

Node: dcid:BrotherOrSister
typeOf: dcid:FamilymembertypeEnum
name: "Brother Or Sister"

Node: dcid:Grandchild
typeOf: dcid:FamilymembertypeEnum
name: "Grandchild"

Node: dcid:Stepchild
typeOf: dcid:FamilymembertypeEnum
name: "Stepchild"

Node: dcid:FosterChild
typeOf: dcid:FamilymembertypeEnum
name: "Foster Child"

Node: dcid:OtherRelative
typeOf: dcid:FamilymembertypeEnum
name: "Other Relative"

Node: dcid:Non-Relative
typeOf: dcid:FamilymembertypeEnum
name: "Non- Relative"

Node: dcid:OnlyGhanaian
typeOf: dcid:USC_LanguageSpokenAtHomeEnum
name: "Only Ghanaian"

Node: dcid:EnglishAndGhanaian
typeOf: dcid:USC_LanguageSpokenAtHomeEnum
name: "English And Ghanaian"

Node: dcid:EnglishAndFrench
typeOf: dcid:USC_LanguageSpokenAtHomeEnum
name: "English And French"

Node: dcid:GhanaOtherLiterate
typeOf: dcid:USC_LanguageSpokenAtHomeEnum
name: "Ghana Other Literate"

Node: dcid:Employees
typeOf: dcid:WorkerClassificationEnum
name: "Employees"

Node: dcid:CasualWorker
typeOf: dcid:WorkerClassificationEnum
name: "Casual Worker"

Node: dcid:FixedTelephoneLines
typeOf: dcid:PowerPlantSectorEnum
name: "Fixed Telephone Lines"

Node: dcid:Desktop/Laptop
typeOf: dcid:ElectronicGadgetUsedEnum
name: "Desktop/ Laptop"

Node: dcid:MobileUser
typeOf: dcid:ElectronicGadgetUsedEnum
name: "Mobile User"

Node: dcid:isInternetUser
typeOf: dcs:Property
name: "isInternetUser"

Node: dcid:NonHousehold
typeOf: dcid:USC_ResidenceTypeEnum
name: "Non Household"
2 changes: 1 addition & 1 deletion core/energy.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ name: "producingSector"
Node: dcid:consumingSector
typeOf: schema:Property
rangeIncludes: dcs:ElectricityConsumptionSectorEnum, dcs:EnergyConsumptionSectorEnum, dcs:PowerPlantSectorEnum
domainIncludes: schema:Electricity
domainIncludes: schema:Electricity, schema:Household
name: "consumingSector"

Node: dcid:electricityProducingSector
Expand Down
6 changes: 3 additions & 3 deletions core/schema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ rangeIncludes: schema:Person
name: "employees"
supersededBy: "employee"
domainIncludes: schema:Organization
typeOf: schema:Property
typeOf: schema:Property, schema:WorkerClassificationEnum

Node: GasStation
dcid: "GasStation"
Expand Down Expand Up @@ -4340,7 +4340,7 @@ dcid: "nationality"
name: "nationality"
domainIncludes: schema:Person
typeOf: schema:Property
rangeIncludes: schema:Country
rangeIncludes: schema:Country, schema:Property

Node: ActiveActionStatus
dcid: "ActiveActionStatus"
Expand Down Expand Up @@ -8393,7 +8393,7 @@ name: "lodgingUnitType"
Node: gender
dcid: "gender"
typeOf: schema:Property
domainIncludes: schema:Person, schema:BirthEvent, schema:Household
domainIncludes: schema:Person, schema:BirthEvent, schema:Household, schema:Student, schema:MortalityEvent
name: "gender"
rangeIncludes: schema:GenderType, dcs:SDG_SexEnum

Expand Down
Loading

0 comments on commit 0adda34

Please sign in to comment.