Skip to content

Commit

Permalink
Schema changes and Statvar addition for Brazil census Import
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 525104670
  • Loading branch information
Data Commons authored and copybara-github committed Apr 18, 2023
1 parent 364edfe commit cecf848
Show file tree
Hide file tree
Showing 5 changed files with 816 additions and 2 deletions.
19 changes: 19 additions & 0 deletions core/census_enums.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2043,6 +2043,25 @@ Node: dcid:UCR_OtherReligion
typeOf: dcs:ReligionEnum
name: "UCR_OtherReligion"

Node: dcid:Evangelical
typeOf: ReligionEnum
name: "Evangelical"

Node: dcid:RomanCatholicismApostolic
typeOf: ReligionEnum
name: "RomanCatholicismApostolic"

Node: dcid:Brazil_OtherReligion
typeOf: ReligionEnum
name: "Brazil_OtherReligion"

Node: dcid:Irreligion
typeOf: ReligionEnum
name: "Irreligion"
description: "For people who do not consider themselves members of any specific religion, including non-affiliated theists and deists"
descriptionUrl: "https://en.wikipedia.org/wiki/Irreligion_in_Brazil"


Node: dcid:TransportationTypeEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
Expand Down
4 changes: 2 additions & 2 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2588,8 +2588,8 @@ Node: dcid:enrollmentLevel
typeOf: schema:Property
name: "enrollmentLevel"
description: "Identifies a person's enrollment level."
rangeIncludes: dcs:EnrollmentLevelEnum
domainIncludes: schema:Person
rangeIncludes: dcs:EnrollmentLevelEnum, dcs:SchoolGradeLevelEnum
domainIncludes: schema:Person, dcs:Student

Node: dcid:workCategory
typeOf: schema:Property
Expand Down
28 changes: 28 additions & 0 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,34 @@ name: "CDC_OtherRace"
description: "The CDC defines other race as a separate entity to group races that are stated but do not map to any race in the defined list (American Indian or Alaska Native, Asian or Pacific Islander, Black, and White)."
descriptionUrl: "https://www.cdc.gov/phin/resources/vocabulary/documents/CDC-Race-Ethnicity-Background-and-Purpose.pdf"


Node: dcid:Brazil_Amarela
typeOf: RaceCodeEnum
name: "Brazil_Amarela"
nameWithLanguage: "Amarela@pt"
description: "Amarela(Yellow) refers to Asian Brazilians citizens or residents of Asian ancestry."
descriptionUrl: "https://en.wikipedia.org/wiki/Asian_Brazilians"

Node: dcid:Brazil_Pardo
typeOf: RaceCodeEnum
name: "Brazil_Pardo"
nameWithLanguage: "Pardo@pt"
description: "The term 'pardo' is more commonly used to refer to mixed-race Brazilians, individuals with varied racial ancestries."
descriptionUrl: "https://en.wikipedia.org/wiki/Pardo_Brazilians"

Node: dcid:Brazil_Indigneous
typeOf: RaceCodeEnum
name: "Brazil_Indigneous"
nameWithLanguage: "Indígena@pt"
description: "Indigenous Brazillians"

Node: dcid:Brazil_Branca
typeOf: RaceCodeEnum
name: "Brazil_Branca"
nameWithLanguage: "Branca@pt"
description: "Branca describes people who are White Brazilians citizens who are considered or self-identify as 'white', typically because of European or Levantine descent."
descriptionUrl: "https://en.wikipedia.org/wiki/White_Brazilians"

# Begin generic health enums
Node: dcid:Mammography
typeOf: dcs:HealthPreventionEnum
Expand Down
23 changes: 23 additions & 0 deletions core/edu.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,28 @@ typeOf: dcs:SchoolGradeLevelEnum
name: "Transitional Kindergarten"
description: "Step-up from PreKindergarten but not quite Kindergarten."

Node: dcid:LiteracyCourse
typeOf: dcs:SchoolGradeLevelEnum
name: "LiteracyCourse"
description: "Literacy classes lasting between six and eight months are attended by groups of 18 and 25 learners under the guidance of trained teachers."

Node: dcid:BRA_HighSchool
typeOf: SchoolGradeLevelEnum
name: "BRA_HighSchool"
description: "Students of Brazil who have enrolled in High School Category."

Node: dcid:Nursery
typeOf: SchoolGradeLevelEnum
name: "Nursery"
description: "Students who are under 2 years."


Node: dcid:Brazil_PreVestibular
typeOf: SchoolGradeLevelEnum
name: "Brazil_PreVestibular"
nameWithLanguage: "Brazil PréVestibular@pt"
description: "It is the course attended by students after High School and before Graduation."

Node: dcid:LunchTypeEnum
typeOf: dcs:Class
subClassOf: schema:Enumeration
Expand Down Expand Up @@ -977,6 +999,7 @@ name: Asian

Node: dcid:Black
typeOf: dcs:RaceCodeEnum
nameWithLanguage: "Preto@pt"
name: Black

Node: dcid:HawaiianNativeOrPacificIslander
Expand Down
Loading

0 comments on commit cecf848

Please sign in to comment.