GithubHelp home page GithubHelp logo

imclab / california-education-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unsetbit/california-education-data

0.0 2.0 0.0 311.73 MB

Data crawled from California Department of Education (http://www.cde.ca.gov)

california-education-data's Introduction

Public CDE Data

CDE is California Department of Education

Usage

You must first install Node.js

git clone https://github.com/oztu/california-education-data.git
cd california-education-data
node ./scripts/setup/unzipCsvs.js

The data will be available in data/csv.

Updating the data sets

Here is how the data was generated (and how to update it):

Academic Performance Index (API)

The Academic Performance Index data can be updated by running npm install; node ./scripts/crawling/getAPIFiles.js;. The data will be automatically crawled and put inside the tmp folder.

The files are retrieved from http://www.cde.ca.gov/ta/ac/ap/apidatafiles.asp. The data files are converted to CSV and the layout html pages are converted to JSON files. For convenience, a header line is added to the CSV which is the names of the fields from the layout file.

There are scripts in scripts/mongo which can be used to load this data to a mongodb instance and clean it up a bit for running map/reduce on.

Annual Financial Data (SACS and ALT)

This data is a bit trickier to update since they're distributed as self-extracting .EXEs here: http://www.cde.ca.gov/ds/fd/fd/. I've downloaded the exes, extracted them, then ran the resulting .mdb files against mdbToCsv to generate to csv files. Finally, I ran node ./scripts/setup/zipCsvs.js to gzip them in order to appease GitHub's limitation on large file sizes.

To create a sqlite3 database using the CSVs, first unzip them using node ./scripts/setup/unzipCsvs.js then, execute the nodejs scripts starting with "load" in ./scripts/sqlite.

california-education-data's People

Contributors

unsetbit avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.