Skip to content

Commit

Permalink
Data Manifest CL for Kenya Economy and Crimes import.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 617095438
  • Loading branch information
Data Commons authored and copybara-github committed Aug 12, 2024
1 parent f6e7ee5 commit c1f0c22
Show file tree
Hide file tree
Showing 6 changed files with 251 additions and 2 deletions.
6 changes: 6 additions & 0 deletions core/WorldDevelopmentIndicators.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -375,3 +375,9 @@ descriptionUrl: "https://en.wikipedia.org/wiki/Value_added"
Node: dcid:ChildBirthExpenditure
typeOf: dcs:ExpenditureTypeEnum
name: "Child Birth Expenditure"

Node: dcid:GrossCountryProduct
typeOf: dcid:EconomicActivitySourceEnum
name: "Gross Country Product"
description: "Gross County Product (GCP) is a geographic breakdown of Kenya’s Gross Domestic Product (GDP) that gives an estimate of the size and structure of county economies"
descriptionUrl: "https://data.humdata.org/dataset/kenya-gross-county-product-gcp-by-economic-activities-per-county?#:~:text=Gross%20County%20Product%20(GCP)%20is,of%20county%20economies%20over%20time."
5 changes: 5 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,8 @@ typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "StatisticalAggregationMethodEnum"
description: "Enum representing the method by which data is aggregated (minimum, maximum, sum, etc)."

Node: dcid:MeasurementDenominatorEnum
typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "MeasurementDenominatorEnum"
64 changes: 64 additions & 0 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -3124,3 +3124,67 @@ Node: dcid:Sum
typeOf: dcs:StatisticalAggregationMethodEnum
name: "Sum"
description: "Computes the sum of input values in a Data Commons StatisticalAggregation."

Node: dcid:Homicide
typeOf: dcid:CrimeTypeEnum
name: "Homicide"

Node: dcid:CrimeAgainstMorality
typeOf: dcid:CrimeTypeEnum
name: "Crime Against Morality"

Node: dcid:CrimeBreakings
typeOf: dcid:CrimeTypeEnum
name: "Crime Breakings"

Node: dcid:TheftOfStock
typeOf: dcid:CrimeTypeEnum
name: "Theft Of Stock"

Node: dcid:Stealing
typeOf: dcid:CrimeTypeEnum
name: "Stealing"

Node: dcid:TheftByServant
typeOf: dcid:CrimeTypeEnum
name: "Theft By Servant"

Node: dcid:TheftOfMotorVehicle
typeOf: dcid:CrimeTypeEnum
name: "Theft Of Motor Vehicle"

Node: dcid:OtherTheft
typeOf: dcid:CrimeTypeEnum
name: "Other Theft"

Node: dcid:DangerousDrugs
typeOf: dcid:CrimeTypeEnum
name: "Dangerous Drugs"

Node: dcid:TrafficOffenses
typeOf: dcid:CrimeTypeEnum
name: "Traffic Offenses"

Node: dcid:CriminalDamage
typeOf: dcid:CrimeTypeEnum
name: "Criminal Damage"

Node: dcid:EconomicCrime
typeOf: dcid:CrimeTypeEnum
name: "Economic Crime"

Node: dcid:CrimeInvolvingPoliceOfficers
typeOf: dcid:CrimeTypeEnum
name: "Crime Involving Police Officers"

Node: dcid:CrimeInvolvingTourists
typeOf: dcid:CrimeTypeEnum
name: "Crime Involving Tourists"

Node: dcid:KEN_OtherPenalCodeOffense
typeOf: dcid:CrimeTypeEnum
name: "KEN Other Penal Code Offense"

Node: dcid:National_Amount_EconomicActivity_GrossValueAdded
typeOf: dcid:MeasurementDenominatorEnum
name: "National_ Amount_ Economic Activity_ Gross Value Added"
174 changes: 174 additions & 0 deletions stat_vars/kenya_stat_var.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,177 @@ measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:Count_Person_Female
gender: dcid:Male

Node: dcid:Count_CriminalActivities
typeOf: dcid:StatisticalVariable
name: "Total Criminal Activities"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue

Node: dcid:Count_CriminalActivities_CorruptionCrime
typeOf: dcid:StatisticalVariable
name: "Number of Corruption Crimes"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:CorruptionCrime

Node: dcid:Count_CriminalActivities_CrimeBreakings
typeOf: dcid:StatisticalVariable
name: "Number of breaking crimes"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:CrimeBreakings

Node: dcid:Count_CriminalActivities_CriminalDamage
typeOf: dcid:StatisticalVariable
name: "Number of Criminal Damage"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:CriminalDamage

Node: dcid:Count_CriminalActivities_DangerousDrugs
typeOf: dcid:StatisticalVariable
name: "Number of crimes related to dangerous drugs"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:DangerousDrugs

Node: dcid:Count_CriminalActivities_EconomicCrime
typeOf: dcid:StatisticalVariable
name: "Number of economic crimes"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:EconomicCrime

Node: dcid:Count_CriminalActivities_Homicide
typeOf: dcid:StatisticalVariable
name: "Homicide Criminal Activity"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:Homicide

Node: dcid:Count_CriminalActivities_KENOtherPenalCodeOffense
typeOf: dcid:StatisticalVariable
name: "Kenya Other Penal Code Offense"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:KEN_OtherPenalCodeOffense

Node: dcid:Count_CriminalActivities_Robbery
typeOf: dcid:StatisticalVariable
name: "Number of robberies"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:Robbery

Node: dcid:Count_CriminalActivities_Stealing
typeOf: dcid:StatisticalVariable
name: "Number of Criminal Activities involving stealing"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:Stealing

Node: dcid:Count_CriminalActivities_TheftByServant
typeOf: dcid:StatisticalVariable
name: "Number of thefts by servant"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:TheftByServant

Node: dcid:Count_CriminalActivities_TheftOfMotorVehicleOrOtherTheft
typeOf: dcid:StatisticalVariable
name: "Number of Theft Of Motor Vehicle or Other Theft"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:TheftOfMotorVehicle__OtherTheft

Node: dcid:Count_CriminalActivities_TheftOfStock
typeOf: dcid:StatisticalVariable
name: "Number of Theft Of Stock"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:TheftOfStock

Node: dcid:Count_CriminalActivities_TrafficOffenses
typeOf: dcid:StatisticalVariable
name: "Number of Traffic Offenses"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
statType: dcid:measuredValue
crimeType: dcid:TrafficOffenses

Node: dcid:Offense_Count_CriminalActivities_CrimeAgainstMorality
typeOf: dcid:StatisticalVariable
name: "Crime Against Morality"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
measurementQualifier: dcid:Offense
statType: dcid:measuredValue
crimeType: dcid:CrimeAgainstMorality

Node: dcid:Offense_Count_CriminalActivities_CrimeAgainstPerson
typeOf: dcid:StatisticalVariable
name: "Crime Against Person"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
measurementQualifier: dcid:Offense
statType: dcid:measuredValue
crimeType: dcid:CrimeAgainstPerson

Node: dcid:Offense_Count_CriminalActivities_CrimeInvolvingPoliceOfficers
typeOf: dcid:StatisticalVariable
name: "Crime Involving Police Officers"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
measurementQualifier: dcid:Offense
statType: dcid:measuredValue
crimeType: dcid:CrimeInvolvingPoliceOfficers

Node: dcid:Offense_Count_CriminalActivities_CrimeInvolvingTourists
typeOf: dcid:StatisticalVariable
name: "Crime Involving Tourists"
populationType: dcid:CriminalActivities
measuredProperty: dcid:count
measurementQualifier: dcid:Offense
statType: dcid:measuredValue
crimeType: dcid:CrimeInvolvingTourists

Node: dcid:Amount_EconomicActivity_GrossValueAdded_AsAFractionOf_National_Amount_EconomicActivity_GrossValueAdded
typeOf: dcid:StatisticalVariable
name: "County Contribution to Gross Value Added (GVA) (%)"
populationType: dcid:EconomicActivity
measuredProperty: dcid:amount
statType: dcid:measuredValue
measurementDenominator: dcid:National_Amount_EconomicActivity_GrossValueAdded
activitySource: dcid:GrossValueAdded

Node: dcid:Nominal_Amount_EconomicActivity_GrossCountryProduct
typeOf: dcid:StatisticalVariable
name: "Gross County Product (GCP) in Current Prices"
populationType: dcid:EconomicActivity
measuredProperty: dcid:amount
measurementQualifier: dcid:Nominal
statType: dcid:measuredValue
activitySource: dcid:GrossCountryProduct

Node: dcid:RealValue_Amount_EconomicActivity_GrossCountryProduct
typeOf: dcid:StatisticalVariable
name: "Gross County Product (GCP) in Constant Prices"
populationType: dcid:EconomicActivity
measuredProperty: dcid:amount
measurementQualifier: dcid:RealValue
statType: dcid:measuredValue
activitySource: dcid:GrossCountryProduct
2 changes: 1 addition & 1 deletion stat_vars/manual_eurostat_stat_vars.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ populationType: dcid:MortalityEvent
statType: dcid:measuredValue
measurementDenominator: dcid:Count_Person
dcid: "Count_Death_AsAFractionOfCount_Person"
name: "Deaths Per Capita"
name: "Deaths Rate"


Node: dcid:Count_BirthEvent
Expand Down
2 changes: 1 addition & 1 deletion stat_vars/manual_wdi_stat_vars.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ measuredProperty: dcid:count
populationType: dcid:CriminalActivities
measurementDenominator: dcid:Count_Person
crimeType: dcid:MurderAndNonNegligentManslaughter
name: "Murder and Non Negligent Manslaughter Cases Per Capita"
name: "Murder and Non Negligent Manslaughter Case Rate"
description: "Intentional homicides are estimates of unlawful homicides purposely inflicted as a result of domestic disputes, interpersonal violence, violent conflicts over land resources, intergang violence over turf or control, and predatory violence and killing by armed groups. Intentional homicide does not include all intentional killing; the difference is usually in the organization of the killing. Individuals or small groups usually commit homicide, whereas killing in armed conflict is usually committed by fairly cohesive groups of up to several hundred members and is thus usually excluded. UN Office on Drugs and Crime's International Homicide Statistics database."


Expand Down

0 comments on commit c1f0c22

Please sign in to comment.