/california-ccscore-analysis

A Los Angeles Times analysis of water usage after the state eased drought restrictions

Primary LanguageJupyter NotebookMIT LicenseMIT

california-ccscore-analysis

A Los Angeles Times analysis published on Oct. 31, 2016, found that the overwhelming majority of California water districts increased their usage after the state eased its drought restrictions. Some of the most extreme increases were found in inland Northern California, led by the San Juan Water District near Folsom Lake.

How did The Times come to that conclusion? Using the Jupyter Notebook in this repository.

Running the analysis

Create a virtual environment.

$ virtualenv california-ccscore-analysis

Jump in and activate it.

$ cd california-ccscore-analysis
$ . bin/activate

Clone this repository into a folder called repo.

$ git clone git@github.com:datadesk/california-ccscore-analysis.git repo

Move into the code and install its requirements.

$ cd repo
$ pip install -r requirements.txt

Start up Jupyter Notebook and run the code yourself from your browser.

$ jupyter notebook

The print edition

A1 A10