Skip to content

schwanksta/latimes-calculate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 dP""b8    db    88      dP""b8 88   88 88        db    888888 888888 
dP   `"   dPYb   88     dP   `" 88   88 88       dPYb     88   88__   
Yb       dP__Yb  88  .o Yb      Y8   8P 88  .o  dP__Yb    88   88""   
 YboodP dP""""Yb 88ood8  YboodP `YbodP' 88ood8 dP""""Yb   88   888888

Some simple math we use to do journalism. Documentation at http://datadesk.github.io/latimes-calculate/

Features

  • Descriptive statistics like mean, median, percentile
  • Comparison statistics like percentage change, per-capita and rankings
  • Geospatial stats like mean center and standard deviation distance
  • A small dab of more complicated hoohah like Pearson’s R.
  • A grabbag of utilities for a diversity index, Benford’s Law, generating random points and other things

Dependencies

For most functions, nothing. GeoDjango is required for a small number of the geospatial functions, though the rest of the module will work if it is not installed.

Getting started

pip install latimes-calculate

About

Some simple math we use to do journalism.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%