California Schools and Districts

California public schools, private schools and districts.

cde.ca.gov-schools-2.1.1. Modified 2022-06-17T15:44:42

Resources | Packages | Documentation| Contacts| References| Data Dictionary

Resources

Documentation

License

The source data, from the California Department of Education, does not explicitly reference a license, but since the top-level website for California indicates that data published on the State of California website is generally in the public domain, we assume it is in the public domain. Derived data included in this package is also in the public domain. Metadata in this package ( contained in the metadata.csv file ) is derived from metadata for the source package, and is also in the public domain.

Programs used for data transformation (contained in the notebooks directory), are Copyright 2021 Civic Knowledge, and are relased under the Creative Commons Attribution-ShareAlike 4.0 International License.

Contacts

Data Dictionary

public_schools | school_districts | private_schools

public_schools

Column NameData TypeDescription
cdscodeintegerThis 14-digit code is the official, unique identification of a school within California. The first two digits identify the county, the next five digits identify the school district, and the last seven digits identify the school. Please note that a CDS code ending in ‘0000000’ indicates a district record not a school.
ncesdiststringThis field represents the 7-digit National Center for Educational Statistics (NCES) school district identification number. The first 2 digits identify the state and the last 5 digits identify the school district. Combined, they make a unique 7-digit ID for each school district.
ncesschoolstringThis field represents the 5-digit NCES school identification number. The NCESSchool combined with the NCESDist form a unique 12-digit ID for each school.
statustypestringThis field identifies the status of the district. Definitions of the valid status types are listed below: – *Active:* The district is in operation and providing instructional services. – *Closed:* The district is not in operation and no longer providing instructional services. – *Merged:* The district has combined with another district or districts. – *Pending:* The district has not opened for operation and instructional services yet, but plans to open within the next 9–12 months.
countystringCounty name.
districtstringDistrict or Administrative Authority name.
schooltextSchool name.
streetstringThe unabbreviated street (physical) address of this school, district, or administrative authority. Note: Some entities (primarily closed or retired schools) may not have data in this field.
streetabrstringThe abbreviated street address of the school, district, or administrative authority’s physical location. Note: Some records (primarily records of closed or retired schools) may not have data in this field.
citystringThe city where the school, district, or administrative authority is physically located. Note: Some records (primarily records of closed or retired schools) may not have data in this field.
zipstringThe zip code associated with the street address of the school, district, or administrative authority’s physical location. Note: Some records (primarily records of closed or retired schools) may not have data in this field.
statestringThe state in which the school, district, or administrative authority is located.
mailstreetstringThe unabbreviated mailing address of the school, district, or administrative authority (i.e., P.O. Box). Note: 1) Some entities (primarily closed or retired schools) may not have data in this field; 2) Many active entities have not provided a mailing street address. For your convenience we have filled the unpopulated MailStreet cells with Street data.
mailstrabrstringThe abbreviated mailing street address of the school, district, or administrative authority (i.e., P.O. Box).Note: Many active entities have not provided a mailing street address. For your convenience we have filled the unpopulated MailStrAbr cells with StreetAbr data.
mailcitystringThe city associated with the mailing address of the school, district, or administrative authority. Note: Many entities have not provided a mailing address city. For your convenience we have filled the unpopulated MailCity cells with City data.
mailzipstringThe zip code associated with the mailing address of the school, district, or administrative authority. Note: Many entities have not provided a mailing address zip code. For your convenience we have filled the unpopulated MailZip cells with Zip data.
mailstatestringThe state within the mailing address. For your convenience we have filled the unpopulated MailState cells with State data.
phonestringThe area code and phone number of the school, district, or administrative authority.
extstringThe phone number extension of the school, district, or administrative authority.
faxnumberstring
emailstring
websitestringThe website address of the school, district, or administrative authority.
opendatestringThe date the school opened.
closeddatestringThe date the school closed.
charterstringThis field identifies a charter school. The field is coded as follows: – Y = The school is a charter – N = The school is not a charter
charternumstringThe charter school number, which is a 4-digit number assigned to a charter school.
fundingtypestringIndicates the charter school funding type. Values are as follows: – Not in CS funding model – Locally funded – Directly funded
docintegerThe District Ownership Code (DOC) is the numeric code used to identify the category of the Administrative Authority. – 00 – County Office of Education – 02 – State Board of Education – 03 – Statewide Benefit Charter – 31 – State Special Schools – 34 – Non-school Location* – 52 – Elementary School District – 54 – Unified School District – 56 – High School District – 98 – Regional Occupational Center/Program (ROC/P) *Only the California Education Authority has been included in the non-school location category.
doctypestringThe District Ownership Code Type is the text description of the DOC category. (See text values in DOC field description above)
socstringThe School Ownership Code is a numeric code used to identify the type of school. – 08 – Preschool – 09 – Special Education Schools (Public) – 10 – County Community – 11 – Youth Authority Facilities (CEA) – 13 – Opportunity Schools – 14 – Juvenile Court Schools – 15 – Other County or District Programs – 31 – State Special Schools – 60 – Elementary School (Public) – 61 – Elementary School in 1 School District (Public) – 62 – Intermediate/Middle Schools (Public) – 63 – Alternative Schools of Choice – 64 – Junior High Schools (Public) – 65 – K-12 Schools (Public) – 66 – High Schools (Public) – 67 – High Schools in 1 School District (Public) – 68 – Continuation High Schools – 69 – District Community Day Schools – 70 – Adult Education Centers – 98 – Regional Occupational Center/Program (ROC/P)
soctypestringThe School Ownership Code Type is the text description of the type of school. (See text values in SOC field description above)
edopscodestringThe Education Option Code is a short text description of the type of education offered. – ALTSOC – Alternative School of Choice – COMM – County Community School – COMMDAY – Community Day School – CON – Continuation School – JUV – Juvenile Court School – OPP – Opportunity School – YTH – Youth Authority School – SSS – State Special School – SPEC – Special Education School – TRAD – Traditional – ROP – Regional Occupational Program – HOMHOS – Home and Hospital – SPECON – District Consortia Special Education School
edopsnamestringThe Educational Option Name is the long text description of the type of education being offered. (See text values in EdOPsCode field description above)
eilcodestringThe Educational Instruction Level Code is a short text description of the institution’s type relative to the grade range served. – A – Adult – ELEM – Elementary – ELEMHIGH – Elementary-High Combination – HS – High School – INTMIDJR – Intermediate/Middle/Junior High – PS – Preschool – UG – Ungraded
eilnamestringThe Educational Instruction Level Name is the long text description of the institution’s type relative to the grade range served. (See text values in EILCode field description above)
gsofferedstringThe grade span offered is the lowest grade and the highest grade offered or supported by the school, district, or administrative authority. This field might differ from the grade span served as reported in the most recent certified California Longitudinal Pupil Achievement (CALPADS) Fall 1 data collection. For example XYZ School might display the following data: GSoffered = P–Adult GSserved = K–12
gsservedstringThis field represents the grade span served. It is the lowest grade and the highest grade of student enrollment as reported in the most recent certified CALPADS Fall 1 data collection. Only K–12 enrollment is reported through CALPADS. This field may differ from the grade span offered. Note: Special programs at independent study, alternative education, and special education schools will often exceed the typical grade span for schools of that type (i.e., a high school might serve grades three through twelve).
virtualstringThis field identifies the type of virtual instruction offered by the school. Virtual instruction is instruction in which students and teachers are separated by time and/or location, and interaction occurs via computers and/or telecommunications technologies. The field is coded as follows: – F = Exclusively Virtual – The school has no physical building where students meet with each other or with teachers, all instruction is virtual. – V = Primarily Virtual – The school focuses on a systematic program of virtual instruction but includes some physical meetings among students or with teachers. – C = Primarily Classroom – The school offers virtual courses but virtual instruction is not the primary means of instruction. – N = Not Virtual – The school does not offer any virtual instruction. – P = Partial Virtual – The school offers some, but not all, instruction through virtual instruction. Note: This value was retired and replaced with the Primarily Virtual and Primarily Classroom values beginning with the 2016–17 school year.
magnetstringThis field identifies whether a school is a magnet school and/or provides a magnet program. Additional information on magnet schools may be obtained from the CDE Magnets web page. The field is coded as follows: – Y = Magnet – The school is a magnet school and/or offers a magnet program. – N = Not Magnet – The school is not a magnet school and/or does not offer a magnet program. Note: Preschools and adult education centers do not contain a magnet school indicator.
yearroundynstringThis field indicates if the school is operating on a year round calendar. More information about year-round education can be found by visiting the CDE Year-Round Education Program Guide web page.
federaldfcdistrictidstringThis field represents the 7-digit National Center for Educational Statistics (NCES) school district identification number for direct funded charter schools. Beginning in February 2019, direct funded charter schools were issued their own federal district ID and should no longer use the federal district ID associated with their authorizing agency.
latitudestringThe angular distance (expressed in degrees) between the location of the school, district, or administrative authority and the equator measured north to south.
longitudestringThe angular distance (expressed in degrees) between the location of the school, district, or administrative authority and the prime meridian (Greenwich, England) measured from west to east.
admfnamestring
admlnametext
admemailstring
lastupdatedateThe date the record was last updated.

school_districts

Column NameData TypeDescription
cd_codeinteger
countystringCounty
districtstringDistrict
streetstringStreet
citystringCity
zipstringZip
statestringState
mailstreetstringMailStreet
mailcitystringMailCity
mailzipstringMailZip
mailstatestringMailState
phonestringPhone
extstringExt
faxnumberstring
emailstring
admfnametextAdmFName
admlnametextAdmLName
admemailstringAdmEmail
latitudenumberLatitude
longitudenumberLongitude
docintegerDOC
doctypestringDOCType
statustypestringStatusType
lastupdatedateLastUpDate

private_schools

Column NameData TypeDescription
yearinteger
affidavit_idinteger
cds_codeinteger
countystring
districtstring
schooltext
school_typestring
school_accommodationsstring
religious_denominationstring
religious_classificationstring
low_gradestring
high_gradestring
grade_k_enrollinteger
grade_1_enrollinteger
grade_2_enrollinteger
grade_3_enrollinteger
grade_4_enrollinteger
grade_5_enrollinteger
grade_6_enrollinteger
grade_7_enrollinteger
grade_8_enrollinteger
grade_9_enrollinteger
grade_10_enrollinteger
grade_11_enrollinteger
grade_12_enrollinteger
ungraded_elem_enrollinteger
ungraded_sec_enrollinteger
total_enrollinteger
graduates_2017_18integer
previous_year_gradsinteger
diploma_offeredstring
full_time_teachersinteger
part_time_teachersnumber
administratorsnumber
other_staffinteger
streetstring
citytext
statestring
zipinteger
mail_streetstring
mail_citystring
mail_statestring
mail_zipstring
school_phone_numberstring
area_codeinteger
phone_prefixinteger
phone_suffixinteger
emailstring
email2string
administrator_salutationstring
administrator_first_nametext
administrator_last_nametext
administrator_titlestring
administrator_emailstring
director_salutationstring
director_first_nametext
director_last_nametext
director_titlestring
director_emailtext
custodian_of_records_salutationstring
custodian_of_records_first_nametext
custodian_of_records_last_nametext
custodian_of_records_emailtext
tax_exempt_501string
tax_exempt_23701string
tax_exempt_27301string
tax_exempt_214string
tax_exemptstring

References

Urls used in the creation of this data package.

Packages

Accessing Data in Vanilla Pandas

import pandas as pd


public_schools_df =  pd.read_csv('http://library.metatab.org/cde.ca.gov-schools-2.1.1/data/public_schools.csv')
school_districts_df =  pd.read_csv('http://library.metatab.org/cde.ca.gov-schools-2.1.1/data/school_districts.csv')
private_schools_df =  pd.read_csv('http://library.metatab.org/cde.ca.gov-schools-2.1.1/data/private_schools.csv')

Accessing Package in Metapack

import metapack as mp
pkg = mp.open_package('http://library.metatab.org/cde.ca.gov-schools-2.1.1.csv')

# Create Dataframes
public_schools_df = pkg.resource('public_schools').dataframe()
school_districts_df = pkg.resource('school_districts').dataframe()
private_schools_df = pkg.resource('private_schools').dataframe()