Los Angeles Times Data and Graphics Department's repositories
django-for-data-analysis-nicar-2016
So you've gone through a Django tutorial or two, maybe even built an app, and want to know how to use it for your reporting.
web-map-maker
Use Natural Earth and OpenStreetMap data to export an image or a vector file.
django-shp2svg
Convert a shapefile into an SVG you can use with JavaScript libraries
django-softhyphen
A Python library for hyphenating HTML in your Django project
homeless-sleeping-restrictions
Analyzing a Los Angeles city council proposal aiming to limit where homeless people can sleep
altair-latimes
A Los Angeles Times theme for Python's Altair statistical visualization library
deadspin-scraper
Scrape posts from Deadspin
la-election-night
Parses election results data published online by the Los Angeles County Registrar-Recorder/County Clerk
wine-country-fires
Analysis of every fire in California's wine country since 1950
extreme-heat-excess-deaths-analysis
A statistical analysis of excess deaths attributable to extreme heat in California's most populous counties
groundwater-analysis
A Los Angeles Times analysis of well completion, groundwater levels, and water shortages in the San Joaquin Valley
highschool-homicide-analysis
The Los Angeles Times analysis of homicides near public high schools.
la-weedmaps-analysis
An analysis conducted for the May 29, 2019, Los Angeles Times story "Black market cannabis shops thrive in L.A. even as city cracks down."
california-k12-notebooks
Scripts to download and process California K12 data
mapping-la-data
Data files from the Los Angeles Times' Mapping L.A. project
native-american-census-analysis
An analysis conducted for the June 13, 2019, Los Angeles Times story "The 2020 census is coming. Will Native Americans be counted?"
django-fec-raw-data
A Django app to download, extract and load campaign finance from the Federal Election Commission
women-homicides-analysis
A Times analysis of the rising number of women being killed in L.A.
zips2hoods
A simple example of joining Los Angeles area neighborhoods to ZIP Codes
geojson-scraper
Retrieves individual geojsons for cities in a county
hsr-document-analysis
An analysis conducted for the April 27, 2019, story How California’s faltering high-speed rail project was ‘captured’ by costly consultants.
LAUSD-2020-grades
A Los Angeles Times analysis of letter grades and test scores of Los Angeles Unified School District students.
altair-interactive-scatterplot-example
An example of how to add a tooltip to a scatterplot in Python's Altair charting library.
boundaries.latimes.com
An API that serves up local GIS data
los-angeles-county-tsunami-hazard-areas
California Geological Survey maps of flooding tsunamis could produce in Los Angeles County.