Skip to content

Commit

Permalink
Update variables with poverty line to use the correct enum based on t…
Browse files Browse the repository at this point in the history
…he poverty line the variable is referring.

PiperOrigin-RevId: 623428989
  • Loading branch information
Data Commons authored and copybara-github committed Apr 10, 2024
1 parent 319725d commit 9a6a4cb
Show file tree
Hide file tree
Showing 21 changed files with 36,974 additions and 1,102 deletions.
14 changes: 13 additions & 1 deletion core/census_enums.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -1128,10 +1128,16 @@ name: "ForeignBornNotBornAtSea"

Node: USC_PovertyStatusEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
subClassOf: schema:PovertyStatusEnum
dcid: "USC_PovertyStatusEnum"
name: "USC_PovertyStatusEnum"

Node: PovertyStatusEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
dcid: "PovertyStatusEnum"
name: "PovertyStatusEnum"

Node: PovertyStatusDetermined
typeOf: dcs:USC_PovertyStatusEnum
dcid: "PovertyStatusDetermined"
Expand All @@ -1143,6 +1149,11 @@ typeOf: dcs:USC_PovertyStatusEnum
dcid: "AbovePovertyLevelInThePast12Months"
name: "AbovePovertyLevelInThePast12Months"

Node: USC_AbovePovertyLevelInThePast12Months
typeOf: dcs:USC_PovertyStatusEnum
dcid: "USC_AbovePovertyLevelInThePast12Months"
name: "Income in the past 12 months above the US Census poverty level"

Node: BelowPovertyLevelInThePast12Months
typeOf: dcs:USC_PovertyStatusEnum
dcid: "BelowPovertyLevelInThePast12Months"
Expand All @@ -1163,6 +1174,7 @@ name: "AboveTwicePovertyLevel"
Node: dcid:USC_IncomeInThePast12MonthsBelowPovertyLevel
typeOf: dcs:USC_PovertyStatusEnum
name: "USC_IncomeInThePast12MonthsBelowPovertyLevel"
description: "Income in past 12 months below the US census poverty level."

Node: RaceCodeEnum
typeOf: schema:Class
Expand Down
2 changes: 1 addition & 1 deletion core/census_properties.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ Node: povertyStatus
dcid: "povertyStatus"
domainIncludes: schema:Person
name: "povertyStatus"
rangeIncludes: dcs:USC_PovertyStatusEnum
rangeIncludes: dcs:PovertyStatusEnum
typeOf: schema:Property

## race defined in K12 (we probably want to move it to dcschema?)
Expand Down
24 changes: 24 additions & 0 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2100,11 +2100,35 @@ subClassOf: dcs:PrecipiationUnitOfMeasure
name: "KilogramsPerMeterSquaredSecond"
shortDisplayName: "kg/sqms"

Node: dcid:IND_BelowPovertyLevelInThePast12Months
typeOf: dcs:PovertyStatusEnum
name: "Below Indian poverty level in the last 12 months"
description: "India poverty line is the per capita per month expenditure that corresponds to the all India poverty ratio."
descriptionUrl: "https://pib.gov.in/newsite/erelcontent.aspx?relid=97365"

Node: dcid:IND_UrbanBelowPovertyLevelInThePast12Months
typeOf: dcs:PovertyStatusEnum
name: "Below Indian urban poverty level in the last 12 months"
description: "Below Indian urban povery level is based on the per capita per month expenditure of urban region that corresponds to the poverty ratio."
descriptionUrl: "https://pib.gov.in/newsite/erelcontent.aspx?relid=97365"

Node: dcid:IND_RuralBelowPovertyLevelInThePast12Months
typeOf: dcs:PovertyStatusEnum
name: "Below Indian rural poverty level in the last 12 months"
description: "Below Indian rural povery level is based on the per capita per month expenditure of rural region that corresponds to the poverty ratio."
descriptionUrl: "https://pib.gov.in/newsite/erelcontent.aspx?relid=97365"


Node: dcid:RatioToPovertyLine
typeOf: dcs:UnitOfMeasure
name: "RatioToPovertyLine"
description: "A unit indicating a ratio to poverty line. If one is at poverty line, then one has a RatioToPovertyLine of 1. If one's income is twice that of the poverty line threshold, then one has a RatioToPovertyLine of 2."

Node: dcid:USC_RatioToPovertyLine
typeOf: dcs:UnitOfMeasure
name: "USC_RatioToPovertyLine"
description: "A unit indicating a ratio to US Census poverty line. If one is at poverty line, then one has a USC_RatioToPovertyLine of 1. If one's income is twice that of the poverty line threshold, then one has a USC_RatioToPovertyLine of 2."

Node: dcid:RatioToHouseholdIncome
typeOf: dcs:UnitOfMeasure
name: "RatioToHouseholdIncome"
Expand Down
Loading

0 comments on commit 9a6a4cb

Please sign in to comment.