Skip to content

Commit

Permalink
Data Refresh CL for indonesia country, provinces and regency and city…
Browse files Browse the repository at this point in the history
… level.

PiperOrigin-RevId: 623394015
  • Loading branch information
Data Commons authored and copybara-github committed Oct 8, 2024
1 parent 77263ee commit 434577b
Show file tree
Hide file tree
Showing 7 changed files with 1,492 additions and 106 deletions.
7 changes: 6 additions & 1 deletion core/bls.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ typeOf: dcs:EmploymentStatusEnum
name: "InLaborForce"
description: "People who are fulfilling the requirement for inclusion in the employed or unemployed."

Node: dcid:FormalLabor
typeOf: dcid:EmploymentStatusEnum
name: "Formal Labor"
description: "formal labour means a structured and regulated job with a contract, government registration, legal protections, and access to benefits."

Node: EmploymentStatusEnum
dcid: "EmploymentStatusEnum"
subClassOf: schema:Enumeration
Expand Down Expand Up @@ -175,7 +180,7 @@ name: "establishmentOwnership"
rangeIncludes: dcs:EstablishmentOwnershipEnum, dcs:SchoolManagementEnum
source: "https://datacommons.org"
typeOf: schema:Property
domainIncludes: dcs:BLSWorker, dcs:BLSEstablishment
domainIncludes: dcs:BLSWorker, dcs:BLSEstablishment, dcs:School, dcs:Student, dcs:Teacher, dcs:CollegeOrUniversity

Node: EstablishmentOwnership0
typeOf: dcs:EstablishmentOwnershipEnum
Expand Down
4 changes: 2 additions & 2 deletions core/census_properties.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ Node: levelOfSchool
dcid: "levelOfSchool"
name: "levelOfSchool"
typeOf: schema:Property
rangeIncludes: dcs:USC_LevelOfSchoolEnum, dcs:SecondarySchool
domainIncludes: dcs:Student
rangeIncludes: dcs:USC_LevelOfSchoolEnum, dcs:SecondarySchool, dcs:SchoolLevelEnum
domainIncludes: dcs:Student, dcs:School, dcs:Teacher

Node: maritalStatus
dcid: "maritalStatus"
Expand Down
82 changes: 11 additions & 71 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ name: "count"

Node: dcid:cumulativeCount
rangeIncludes: schema:Integer
domainIncludes: schema:StatisticalPopulation, schema:FoodBasket, schema:Household
domainIncludes: schema:StatisticalPopulation, schema:FoodBasket, schema:Household, schema:MedicalConditionIncident
typeOf: schema:Property
name: "cumulativeCount"
description: "A running count of all instances that have satisfied the constraints of the Statistical Population."
Expand Down Expand Up @@ -4078,84 +4078,24 @@ typeOf: schema:Property
domainIncludes: schema:Place
description: "Unique codes for categorizing and enumerating the census geographic units of Canada"

Node: dcid:StatisticalAggregation
typeOf: schema:Class
subClassOf: schema:Intangible
name: "StatisticalAggregation"
description: "Custom aggregation of statistical data in Data Commons, computed by Data Commons. For example, aggregating population with health insurance stats available at county-level to state-level."
Node: dcid:birthControlMethod
typeOf: dcid:Property
name: "birthControlMethod"
domainIncludes: dcid:Person
rangeIncludes: dcid:BirthControlMethodEnum

Node: dcid:AggregationSlice
typeOf: schema:Class
subClassOf: schema:Intangible
name: "AggregationSlice"
description: "Filter to a Data Commons StatisticalAggregation consisting of a property and one or more values, which will further slice the output data. For example, the count of earthquakes might be sliced by different magnitude ranges."
Node: dcid:healthServiceType
typeOf: dcid:Property
name: "healthServiceType"
domainIncludes: dcid:HealthEstablishment
rangeIncludes: dcid:HealthServiceTypeEnum

Node: dcid:StatisticalCalculation
typeOf: schema:Class
subClassOf: schema:Intangible
name: "StatisticalCalculation"
description: "Custom calculation in Data Commons, computed by Data Commons. For example, computing the population without health insurance using an exhaustive age breakdown of such population."

Node: dcid:aggregateProperty
typeOf: schema:Property
domainIncludes: dcs:StatisticalAggregation
rangeIncludes: schema:Property
description: "Property being aggregated in a Data Commons StatisticalAggregation. This could be a StatisticalVariable when aggregating across places, or a constraint property when aggregating entities."

Node: dcid:aggregationMethod
typeOf: schema:Property
domainIncludes: dcs:StatisticalAggregation
rangeIncludes: schema:StatisticalAggregationMethodEnum
description: "Method by which data is aggregated (minimum, maximum, sum, etc)."

Node: dcid:aggregationSlice
typeOf: schema:Property
domainIncludes: dcs:StatisticalAggregation
rangeIncludes: schema:AggregationSlice
description: "Filter to a Data Commons StatisticalAggregation, which will further slice the output data. Output StatisticalVariables will be generated for each slice in the filter."

Node: dcid:aggregationSliceProperty
typeOf: schema:Property
domainIncludes: dcs:AggregationSlice
rangeIncludes: schema:Property
description: "Property to filter a Data Commons StatisticalAggregation by. Entities will be grouped by this property when computing the aggregation."

Node: dcid:aggregationSliceValue
typeOf: schema:Property
domainIncludes: dcs:AggregationSlice
rangeIncludes: dcs:Enumeration, dcs:QuantityRange
description: "Value to filter a Data Commons StatisticalAggregation by. Entities will be grouped by this value when computing the aggregation."

Node: dcid:inputEntity
typeOf: schema:Property
domainIncludes: dcs:StatisticalAggregation
rangeIncludes: schema:Class
description: "Type of input entity to a Data Commons StatisticalAggregation (place type, event type, etc)."

Node: dcid:inputTimeProperty
typeOf: schema:Property
domainIncludes: dcs:StatisticalAggregation
rangeIncludes: schema:Property
description: "Input property in a Data Commons StatisticalAggregation that will be used to indicate the time. Required for aggregating entities. Output StatVarObservations will use this property to determine their date."

Node: dcid:linkProperty
typeOf: schema:Property
domainIncludes: dcs:StatisticalAggregation
rangeIncludes: schema:Property
description: "Property linking input to output entities in a Data Commons StatisticalAggregation, such as containment, membership, or hierarchy."

Node: dcid:outputEntity
typeOf: schema:Property
domainIncludes: dcs:StatisticalAggregation
rangeIncludes: schema:Class
description: "Type of output entity to a Data Commons StatisticalAggregation. The output StatVarObservations will be attached to entities associated with this type."

Node: dcid:outputTimeGranularity
typeOf: schema:Property
domainIncludes: dcs:StatisticalAggregation
rangeIncludes: dcs:Text
description: "Date pattern (ISO 8601) to match for aggregating by time. Inputs will by grouped by this date pattern, and the output StatVarObservations will have dates of this pattern."

Node: dcid:inputPropertyExpression
typeOf: schema:Property
domainIncludes: dcs:StatisticalCalculation
Expand Down
10 changes: 10 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -605,3 +605,13 @@ subClassOf: dcid:Enumeration
name: "VulnerabilityStatusEnum"
description: "Social Vulnerability Status refers to the demographic and socioeconomic factors (such as poverty, lack of access to transportation, and crowded housing) that adversely affect communities that encounter hazards and other community-level stressors"
descriptionUrl: "https://www.atsdr.cdc.gov/placeandhealth/svi/index.html"

Node: dcid:BirthControlMethodEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "BirthControlMethodEnum"

Node: dcid:HealthServiceTypeEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "HealthServiceTypeEnum"
142 changes: 123 additions & 19 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2069,6 +2069,21 @@ Node: dcid:SymptomsOfAcuteRespiratoryInfection
typeOf: dcs:MedicalConditionIncidentTypeEnum
name: "Symptoms Of Acute Respiratory Infection"

Node: dcid:TetanusNeonatorum
typeOf: dcid:MedicalConditionIncidentTypeEnum
name: "Tetanus Neonatorum"
description: "Neonatal tetanus (trismus nascentium) is a form of generalised tetanus that occurs in newborns. Infants who have not acquired passive immunity from an immunized mother are at risk."

Node: dcid:DengueHemorrhagicFever
typeOf: dcid:MedicalConditionIncidentTypeEnum
name: "Dengue Hemorrhagic Fever"
description: "Dengue fever is a mosquito-borne tropical disease caused by dengue virus"

Node: dcid:DiseasedPerson
typeOf: dcid:MedicalConditionIncidentTypeEnum
name: "Diseased Person"
description: "A person suffering from an illness."

Node: dcid:ImportedCase
typeOf: dcs:MedicalStatusEnum
name: "Imported Case"
Expand Down Expand Up @@ -2140,6 +2155,10 @@ Node: dcid:StillBirth
typeOf: dcs:MedicalStatusEnum
name: "Still Birth"

Node: dcid:NewlyConfirmedCase
typeOf: dcid:MedicalStatusEnum
name: "Newly Confirmed Case"

Node: dcid:Positive
typeOf: dcs:MedicalTestResultEnum
name: "Positive"
Expand Down Expand Up @@ -2627,6 +2646,103 @@ typeOf: dcid:HealthEstablishmentTypeEnum
name: "Medical Service Unit"
description: "A medical unit is a military or civilian establishment that provides medical services like Physician care, Inpatient care, Hospital surgical services, Emergency services, Ambulance services, Dental care services, Vision care services."

Node: dcid:GeneralHospitals
typeOf: dcid:HealthEstablishmentTypeEnum
name: "General Hospitals"

Node: dcid:SpecialHospitals
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Special Hospitals"

Node: dcid:PublicHealthCenters
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Public Health Centers"

Node: dcid:GovernmentHospital
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Government Hospital"
rangeIncludes: dcid:GenderType

Node: dcid:PrivateHospital
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Private Hospital"

Node: dcid:Polyclinic
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Polyclinic"

Node: dcid:DoctorsPractice
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Doctors Practice"

Node: dcid:CommunityHealthCenter
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Community Health Center"

Node: dcid:HealthWorkerPractice
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Health Worker Practice"

Node: dcid:BatraPractice
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Batra Practice"

Node: dcid:BirthAttendant
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Birth Attendant"

Node: dcid:BPS_OtherHealthEstablishments
typeOf: dcid:HealthEstablishmentTypeEnum
name: "BPS_ Other Health Establishments"

Node: dcid:PracticingDoctor
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Practicing Doctor"

Node: dcid:Midwife
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Midwife"

Node: dcid:JointClinic
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Joint Clinic"

Node: dcid:DoctorPractice
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Doctor Practice"

Node: dcid:VillageMaternityClinic
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Village Maternity"

Node: dcid:IntegratedService
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Integrated Service"

Node: dcid:MedicalCenter
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Medical Center"

Node: dcid:IntegratedService
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Integrated Service"

Node: dcid:MedicalCenter
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Medical Center"

Node: dcid:PracticeTraditional
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Practice Traditional"

Node: dcid:AlternativeMedicine
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Alternative Medicine"

Node: dcid:CommunityHealthResource
typeOf: dcid:HealthEstablishmentTypeEnum
name: "Community Health Resource"

Node: dcid:MeaslesVaccine
name: "Measles Vaccine"
typeOf: dcs:VaccineTypeEnum
Expand Down Expand Up @@ -3105,25 +3221,13 @@ name: "Open Data Commons Open Database License"
description: "Data available under the Open Data Commons Open Database License."
url: "https://opendatacommons.org/licenses/odbl/"

Node: dcid:Count
typeOf: dcs:StatisticalAggregationMethodEnum
name: "Count"
description: "Computes the count of input entities in a Data Commons StatisticalAggregation."

Node: dcid:Maximum
typeOf: dcs:StatisticalAggregationMethodEnum
name: "Maximum"
description: "Computes the maximum of input values in a Data Commons StatisticalAggregation."

Node: dcid:Minimum
typeOf: dcs:StatisticalAggregationMethodEnum
name: "Minimum"
description: "Computes the minimum of input values in a Data Commons StatisticalAggregation."

Node: dcid:Sum
typeOf: dcs:StatisticalAggregationMethodEnum
name: "Sum"
description: "Computes the sum of input values in a Data Commons StatisticalAggregation."
Node: dcid:WithUnmetNeed
typeOf: dcid:HealthServiceTypeEnum
name: "With Unmet Need"

Node: dcid:ContraceptionMethod
typeOf: dcid:BirthControlMethodEnum
name: "Contraception Method"

Node: dcid:DataCommonsImputed
typeOf: dcs:ImputationTypeEnum
Expand Down
Loading

0 comments on commit 434577b

Please sign in to comment.