Skip to content

Commit

Permalink
Import data and schema for FeedingAmerica
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 560091658
  • Loading branch information
ajaits authored and copybara-github committed Aug 25, 2023
1 parent ea7bdfa commit 66153b9
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 0 deletions.
75 changes: 75 additions & 0 deletions core/food_security_schema.mcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
Node: dcid:Food
typeOf: dcs:Class
subClassOf: dcs:Thing
name: "Food"

Node: dcid:budgetShortfall
typeOf: dcs:Property
name: "budgetShortfall"
domainIncludes: dcid:Food

Node: dcid:cost
typeOf: dcs:Property
domainIncludes: dcid:Food,dcid:Person

Node: dcid:foodSecurityStatus
typeOf: dcs:Property
name: "foodSecurityStatus"
domainIncludes: dcid:Person,dcid:Child
rangeIncludes: dcid:FoodSecurityStatusEnum

Node: dcid:FoodSecurityStatusEnum
typeOf: dcs:Class
subClassOf: dcs:Enumeration
name: "FoodSecurityStatusEnum"

Node: dcid:FoodSecure
typeOf: dcid:FoodSecurityStatusEnum
name: "Food Secure"
isProvisional: dcs:True

Node: dcid:FoodInSecure
typeOf: dcid:FoodSecurityStatusEnum
name: "Food In Secure"
isProvisional: dcs:True

Node: dcid:foodType
typeOf: dcs:Property
name: "foodType"
domainIncludes: dcid:Person
rangeIncludes: dcid:FoodTypeEnum
isProvisional: dcs:True

Node: dcid:FoodTypeEnum
typeOf: dcs:Class
subClassOf: dcs:Enumeration
name: "FoodTypeEnum"

Node: dcid:Meal
typeOf: dcid:FoodTypeEnum
name: "Meal"

Node: dcid:benefitsStatus
typeOf: dcs:Property
name: "benefitsStatus"
domainIncludes: dcid:Child

Node: dcid:EligibleForManyChildNutritionBenefits
typeOf: dcid:BenefitsStatusEnum
name: "Eligible For Many Child Nutrition Benefits"

Node: dcid:IneligibleForManyChildNutritionBenefits
typeOf: dcid:BenefitsStatusEnum
name: "Ineligible For Many Child Nutrition Benefits"

Node: dcid:EligibleForAllFederalBenefits
typeOf: dcid:BenefitsStatusEnum
name: "Eligible For All Federal Benefits"

Node: dcid:EligibleForSomeFederalBenefits
typeOf: dcid:BenefitsStatusEnum
name: "Eligible For Some Federal Benefits"

Node: dcid:IneligibleForFederalBenefits
typeOf: dcid:BenefitsStatusEnum
name: "Ineligible For Federal Benefits"
4 changes: 4 additions & 0 deletions core/measurement_methods.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -318,3 +318,7 @@ typeOf: dcs:MeasurementMethodEnum
Node: dcid:CBSIsraelSurvey
name: "CBSIsraelSurvey"
typeOf: dcs:MeasurementMethodEnum

Node: dcid:FeedingAmerica_Estimate
name: "FeedingAmerica_Estimate"
typeOf: dcs:MeasurementMethodEnum
78 changes: 78 additions & 0 deletions stat_vars/feeding_america_stat_vars.mcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
Node: dcid:Annual_FoodBudgetShortfall
typeOf: dcs:StatisticalVariable
populationType: dcid:Food
measuredProperty: budgetShortfall
measurementQualifier: dcid:Annual
name: "Annual Food Budget Shortfall"
statType: dcs:measuredValue

Node: dcid:Mean_MealCost_Person_FoodSecure
typeOf: dcs:StatisticalVariable
populationType: dcid:Person
measuredProperty: dcid:cost
foodSecurityStatus: dcs:FoodSecure
foodType: dcid:Meal
statType: dcs:meanValue
name: "Average Meal Cost for Food Secure People"

Node: dcid:Count_Child_FoodInsecure
typeOf: dcs:StatisticalVariable
populationType: schema:Child
foodSecurityStatus: dcs:FoodInSecure
name: "Population: Food Insecure Children"
measuredProperty: dcid:count
statType: dcs:measuredValue


Node: dcid:Count_Child_FoodInsecure_EligibleForManyChildNutritionBenefits
typeOf: dcs:StatisticalVariable
measuredProperty: dcid:count
populationType: schema:Child
foodSecurityStatus: dcs:FoodInSecure
benefitsStatus: dcid:EligibleForManyChildNutritionBenefits
statType: dcs:measuredValue
name: "Food Insecure Children Eligible for Benefits"

Node: dcid:Count_Child_FoodInsecure_IneligibleForChildNutritionBenefits
typeOf: dcs:StatisticalVariable
measuredProperty: dcid:count
populationType: schema:Child
foodSecurityStatus: dcs:FoodInSecure
benefitsStatus: dcid:IneligibleForManyChildNutritionBenefits
statType: dcs:measuredValue
name: "Food Insecure Children Ineligible for Benefits"

Node: dcid:Count_Person_FoodInsecure
typeOf: dcs:StatisticalVariable
measuredProperty: dcid:count
populationType: schema:Person
foodSecurityStatus: dcs:FoodInSecure
statType: dcs:measuredValue
name: "Population: Food Insecure People"

Node: dcid:Count_Person_FoodInsecure_EligibleForAllFederalBenefits
typeOf: dcs:StatisticalVariable
measuredProperty: dcid:count
populationType: schema:Person
foodSecurityStatus: dcs:FoodInSecure
benefitsStatus: dcid:EligibleForAllFederalBenefits
statType: dcs:measuredValue
name: "Food Insecure People Eligible for All Federal Benefits"

Node: dcid:Count_Person_FoodInsecure_EligibleForSomeFederalBenefits
typeOf: dcs:StatisticalVariable
measuredProperty: dcid:count
populationType: schema:Person
foodSecurityStatus: dcs:FoodInSecure
benefitsStatus: dcid:EligibleForSomeFederalBenefits
statType: dcs:measuredValue
name: "Food Insecure People Eligible for Some Federal Benefits"

Node: dcid:Count_Person_FoodInsecure_IneligibleForFederalBenefits
typeOf: dcs:StatisticalVariable
measuredProperty: dcid:count
populationType: schema:Person
foodSecurityStatus: dcs:FoodInSecure
benefitsStatus: dcid:IneligibleForFederalBenefits
statType: dcs:measuredValue
name: "Food Insecure People Ineligible for Federal Benefits"

0 comments on commit 66153b9

Please sign in to comment.