montessoritheory's picture
Upload 5 files
4c27156 verified
Raw History Blame Contribute Delete
15.6 kB
"""Column descriptions (with the NCES source variable) used to write data_dictionary.csv and the Kaggle schemas."""
COMMON = {
'survey_year': 'NHES survey year (2016 or 2019)',
'child_age': "Child's age in years on December 31 of the year before the survey (NCES AGE2015 / AGE2018)",
'child_sex': "Child's sex (CSEX)",
'child_race_ethnicity': "Child's race and ethnicity in 4 groups (RACEETHN 2016, RACEETH 2019, Asian, Pacific Islander and other or multiple races combined)",
'census_region': 'Census region of residence (CENREG)',
'locale': 'NCES 12-category locale of the ZIP code (ZIPLOCL)',
'locale_group': 'City, Suburb, Town or Rural',
'parent_education': "Highest education of the child's parents or guardians (PARGRADEX)",
'household_income': 'Total household income in 10 groups, the 2019 top groups combined into $150,001 or more (TTLHHINC)',
'household_income_detail': 'Household income with the 2019 groups above $150,000 kept (TTLHHINC)',
'family_type': 'Parents and siblings in the household (FAMILY16X / FAMILY19X)',
'parents_in_household': 'Two parents, mother only, father only or nonparent guardians (HHPARN16X / HHPARN19X)',
'parent1_work_status': 'Work status of the first parent or guardian (PAR1EMPL)',
'home_language': 'Language the parents learned first or speak at home (LANGUAGEX)',
'final_weight': 'NCES final weight. Use it for national estimates and the replicate weights for standard errors (FEWT / FPWT)',
}
ECPP = {
'child_id': 'NCES child identifier (BASMID), unique within a survey year',
'any_care_arrangement': 'Child has any care arrangement or program, weekly or not (ANYCAREX)',
'weekly_care': 'Child has at least one nonparental care arrangement scheduled at least once a week (RCWEEK, NCWEEK or CPWEEKX). This is the NCES headline measure',
'weekly_relative_care': 'Weekly care by a relative other than a parent (RCWEEK)',
'weekly_nonrelative_care': 'Weekly care by a nonrelative in a private home (NCWEEK)',
'weekly_center_program': 'Weekly attendance at a day care center, preschool or prekindergarten (CPWEEKX)',
'main_arrangement': 'Arrangement where the child spends the most hours each week (MOSTHRSX)',
'relative_care': 'Child now receives regular care from a relative (RCNOW)',
'nonrelative_care': 'Child now receives care from a nonrelative in a private home (NCNOW)',
'center_program': 'Child now attends a center-based program, not in a private home (CPNNOWX)',
'relative_care_hours': 'Hours a week in relative care (RCHRS)',
'nonrelative_care_hours': 'Hours a week in nonrelative care (NCHRS)',
'center_hours': 'Hours a week in the center-based program (CPHRS)',
'total_care_hours': 'Total hours a week in all nonparental arrangements (CAREHOURX)',
'center_days': 'Days a week in the center-based program (CPDAYS)',
'center_type_2016': 'Kind of center program, 2016 only: day care, preschool or prekindergarten (CPTYPE)',
'center_head_start': 'The center program is Head Start or Early Head Start (CPHEADST)',
'ever_head_start': 'Child ever attended Head Start or Early Head Start (PCEVRHDX)',
'center_location': 'Where the center program is located (CPPLACEX)',
'center_at_parent_workplace': "The program is at a parent's workplace (CPWORK)",
'center_run_by_religious_group_2016': 'The program is run by a religious group, 2016 wording (CPSPRLG)',
'center_teaches_religion_2019': 'The program teaches religious content, 2019 wording of the same item (CPSPRLG)',
'center_cost_amount': 'Amount the household pays for the center program, in current dollars (CPCOST)',
'center_cost_unit': 'Period the amount covers: hour, day, week, every 2 weeks, month, year or other (CPUNIT)',
'center_cost_children_covered': 'Number of children in the household the amount covers (CPCSTHNX)',
'center_cost_weekly_per_child': 'Derived weekly cost per child in USD: amount converted to a week with the hours or days reported, divided by the children covered. 0 means free, empty means unknown or other period',
'relative_cost_amount': 'Amount the household pays for relative care (RCCOST)',
'relative_cost_unit': 'Period the amount covers (RCUNIT)',
'relative_cost_children_covered': 'Number of children the amount covers (RCCSTHNX)',
'relative_cost_weekly_per_child': 'Derived weekly cost per child in USD for relative care',
'nonrelative_cost_amount': 'Amount the household pays for nonrelative care (NCCOST)',
'nonrelative_cost_unit': 'Period the amount covers (NCUNIT)',
'nonrelative_cost_children_covered': 'Number of children the amount covers (NCCSTHNX)',
'nonrelative_cost_weekly_per_child': 'Derived weekly cost per child in USD for nonrelative care',
'good_choices_available': 'Parent feels there are good choices for child care where they live (PPCHOIC)',
'difficulty_finding_care': 'Difficulty finding care, including "did not look for care" (PPDIFCLT, with CRSRCH in 2019)',
'main_difficulty': 'Main reason finding care was difficult (WHYDIFCLT)',
'main_reason_for_care': 'Main reason for having care or a program (MAINRESN, codes mapped by label)',
'importance_location': 'Importance of location when choosing the main arrangement (DCLOA)',
'importance_cost': 'Importance of cost (DCOST)',
'importance_reliability': 'Importance of reliability (DRELY)',
'importance_learning_activities': 'Importance of learning activities (DLERN)',
'importance_time_with_other_children': 'Importance of time with other children (DCHIL)',
'importance_caregiver_availability': 'Importance of the caregiver being available when needed (DHROP)',
'importance_group_size': 'Importance of the number of children in the group (DNBGRP)',
'importance_website_ratings': 'Importance of ratings on websites, "Not available" was added in 2019 (DRTWEB)',
'importance_recommendations': 'Importance of recommendations from family and friends, "Not available" added in 2019 (DRECFAM)',
'importance_religious_orientation': 'Importance of religious orientation (DRELOR)',
'importance_staff_qualifications': 'Importance of staff qualifications, asked in 2019 only (DQUAL)',
'times_read_to_past_week': 'Times a family member read to the child in the past week, top-coded at 20 as in 2019 (FOREADTOX)',
'told_story_past_week': 'Times told a story in the past week (FOSTORYX)',
'taught_letters_words_numbers_past_week': 'Times taught letters, words or numbers in the past week (FOWORDSX)',
'sang_songs_past_week': 'Times sang songs with the child in the past week (FOSANG)',
'arts_and_crafts_past_week': 'Times did arts and crafts with the child in the past week (FOCRAFTSX)',
'family_dinners_past_week': 'Days the family ate the evening meal together in the past week (FODINNERX)',
'library_visit_past_month': 'Visited a library with the child in the past month (FOLIBRAY)',
'bookstore_visit_past_month': 'Visited a bookstore with the child in the past month (FOBOOKST)',
'books_owned': 'Number of books the child has, including shared ones (HABOOKS)',
'recognizes_letters': 'Child recognizes the letters of the alphabet, asked for children 3 and older (DPLETTER)',
'counts_up_to': 'How high the child can count, children 3 and older (DPCOUNT)',
'writes_first_name': 'Child can write their first name, children 3 and older (DPNAME)',
}
PFI = {
'student_id': 'NCES student identifier (BASMID), unique within a survey year',
'grade': 'Grade or grade equivalent, kindergarten to grade 12 (ALLGRADEX)',
'homeschooled': 'Homeschooled under the NCES definition: homeschooled for all classes, or part time while enrolled in school 25 hours a week or less (2016) or 24 hours or less (2019), excluding homeschooling only for a temporary illness',
'homeschool_arrangement': 'Full time or part time homeschooling (HMSCHLX 2016, HMSCHARR with SCHLHRSWK 2019)',
'schooling_type': 'Derived type of schooling: public assigned, public chosen, public charter, private Catholic, private other religious, private nonreligious, homeschooled',
'schooling_group': 'Public, Private, Homeschooled or Other or unknown',
'moved_to_attend_school': 'The family moved to its neighborhood so the child could attend the school (SNEIGHBRX)',
'district_allows_choice': 'The district lets parents choose a public school (SPUBCHOIX)',
'considered_other_schools': 'Parents considered other schools (SCONSIDR)',
'school_is_first_choice': "The school is the parents' first choice (S1STCHOI)",
'satisfaction_school': 'Satisfaction with the school (FCSCHOOL)',
'satisfaction_teachers': 'Satisfaction with the teachers (FCTEACHR)',
'satisfaction_academic_standards': 'Satisfaction with academic standards (FCSTDS)',
'satisfaction_discipline': 'Satisfaction with order and discipline (FCORDER)',
'satisfaction_staff_parent_interaction': 'Satisfaction with the way staff interact with parents (FCSUPPRT)',
'child_enjoys_school': 'My child enjoys school (SEENJOY)',
'child_grades': "Child's grades across subjects (SEGRADES)",
'repeated_a_grade': 'Child has repeated a grade (SEREPEAT)',
'homework_hours_week': 'Hours a week spent on homework (FHWKHRS)',
'parent_attended_school_event': 'A parent attended a school or class event this school year (FSSPORTX)',
'parent_volunteered': 'A parent served as a volunteer (FSVOL)',
'parent_attended_general_meeting': 'A parent attended a general school meeting (FSMTNG)',
'parent_attended_pto_meeting': 'A parent attended a PTO or PTA meeting (FSPTMTNG)',
'parent_attended_parent_teacher_conference': 'A parent attended a parent-teacher conference (FSATCNFN)',
'parent_fundraising': 'A parent took part in fundraising (FSFUNDRS)',
'parent_served_on_committee': 'A parent served on a school committee (FSCOMMTE)',
'expected_education': "Parents' expectation for the child's education (SEFUTUREX, HSFUTUREX for 2016 homeschoolers)",
'homeschool_reason_school_environment': 'Homeschool reason, concern about the environment of other schools (HSSAFETYX)',
'homeschool_reason_dissatisfied_with_instruction': 'Homeschool reason, dissatisfaction with academic instruction (HSDISSATX)',
'homeschool_reason_religious_instruction': 'Homeschool reason, religious instruction (HSRELGON)',
'homeschool_reason_moral_instruction': 'Homeschool reason, moral instruction (HSMORAL)',
'homeschool_reason_health_problem': 'Homeschool reason, physical or mental health problem (HSDISABLX)',
'homeschool_reason_temporary_illness': 'Homeschool reason, temporary illness (HSILLX)',
'homeschool_reason_special_needs': 'Homeschool reason, other special needs (HSSPCLNDX)',
'homeschool_reason_nontraditional_approach': "Homeschool reason, a nontraditional approach to the child's education (HSALTX)",
'homeschool_reason_family_life_2019': 'Homeschool reason, emphasis on family life together, 2019 only (HSFMLY)',
'homeschool_reason_bullying_2019': 'Homeschool reason, bullying, 2019 only (HSBULLY)',
'homeschool_reason_other': 'Homeschool reason, other (HSOTHERX)',
'homeschool_most_important_reason': 'Most important reason for homeschooling (HSMOSTX, mapped by label)',
'homeschool_teaching_style': 'Formal curriculum or informal learning (HSSTYL)',
'homeschool_coop_instruction': 'Some instruction comes from a homeschool group or co-op (HSCOOP)',
'homeschool_organization_member': 'Member of a homeschool organization (HSNATL)',
'homeschool_online_instruction': 'Some homeschool instruction is online (HSINTNET)',
'homeschool_online_share_2019': 'Share of courses taken online, 2019 only (HSINTNET)',
}
for k, lab in [('safety', 'safety'), ('convenient_location', 'convenient location'), ('staff_quality', 'quality of teachers and staff'),
('academic_performance', 'academic performance'), ('class_size', 'number of students in classes'), ('cost', 'cost'),
('religious_orientation', 'religious orientation'), ('curriculum_focus', 'curriculum focus or courses'),
('extracurriculars', 'extracurricular options'), ('student_body', 'student body characteristics'),
('special_education', 'special education services'), ('special_facilities', 'special facilities')]:
PFI[f'choice_reason_{k}_2019'] = f'Importance of {lab} when choosing the school, asked in 2019 of parents who chose'
PREK = {
'fall_year': 'Fall of the school year (fall 2022 = school year 2022-23)',
'state': 'State name, or United States',
'state_abbr': 'Two-letter postal code (US for the national total)',
'total_all_grades': 'Public school enrollment, all grades including ungraded',
'prekindergarten': 'Public prekindergarten enrollment',
'kindergarten': 'Public kindergarten enrollment',
'source_note': 'NCES footnote on the pre-K or kindergarten figure (for example imputed values)',
'source_table': 'Digest of Education Statistics edition and table the figures come from',
'prek_per_100_kindergartners': 'Public pre-K students for every 100 public kindergartners',
'prek_share_of_enrollment_pct': 'Pre-K as a percent of all public school enrollment',
'prek_change_since_2012_pct': 'Percent change in public pre-K enrollment since fall 2012',
'year': 'Survey year of the American Community Survey',
'age_group': 'Age group covered',
'percent_enrolled_in_school': 'Percent of 3- to 5-year-olds enrolled in school (preschool, nursery school, kindergarten or higher)',
'standard_error': 'Standard error of the percent',
}
for i in range(1, 13): PREK[f'grade_{i}'] = f'Public enrollment in grade {i}'
SUMMARY = {
'percent': 'Weighted percent', 'standard_error': 'Jackknife standard error (80 JK1 replicate weights)',
'sample_size': 'Unweighted number of sampled children or students behind the estimate', 'group': 'Population group',
'indicator': 'What is measured', 'main_arrangement': 'Main weekly arrangement', 'factor': 'Factor parents rate', 'column': 'Column in the main file',
'percent_very_important': 'Weighted percent rating it very important', 'arrangement': 'Type of care',
'mean_weekly_cost_per_child_usd': 'Weighted mean weekly cost per child in current USD, families who pay',
'median_weekly_cost_per_child_usd': 'Weighted median weekly cost per child, families who pay',
'percent_paying_nothing': 'Weighted percent of families in that arrangement who pay nothing', 'sample_size_paying': 'Unweighted families who pay',
'activity': 'Activity', 'percent_of_children_age_3_to_5': 'Weighted percent of children aged 3 to 5 not yet in kindergarten',
'percent_in_weekly_center_program_age_3_to_5': 'Weighted percent of children aged 3 to 5 in a weekly center-based program',
'schooling_type': 'Type of schooling', 'percent_of_students_age_5_to_17': 'Weighted percent of students aged 5 to 17',
'characteristic': 'Characteristic the group belongs to', 'percent_homeschooled': 'Weighted percent homeschooled',
'homeschooled_thousands': 'Weighted number of homeschooled students, thousands', 'measure': 'Kind of measure', 'category': 'Category',
'percent_of_homeschooled_students': 'Weighted percent of homeschooled students', 'aspect': 'Aspect of the school',
'percent_very_satisfied': 'Weighted percent of parents very satisfied', 'reason': 'Reason for choosing the school',
'schooling_group': 'Public, private or all enrolled students', 'percent_of_parents': 'Weighted percent of parents who did the activity',
}