latimes-calculate
latest
  • Basic functions
  • Geospatial functions
latimes-calculate
  • Docs »
  • latimes-calculate
  • Edit on GitHub

latimes-calculate¶

Some simple math we use to do journalism

Getting started¶

Install the latest package from pypi.

$ pip install latimes-calculate

Note

For most functions, there are no additional requirements. The exception is the small number of geospatial functions, which require GeoDjango.

Documentation¶

  • Basic functions
    • Adjusted-monthly value
    • Age
    • At percentile
    • Benford’s Law
    • Competition rank
    • Date range
    • Decile
    • Ethnolinguistic Fractionalization Index
    • Equal-sized breakpoints
    • Margin of victory
    • Mean (Average)
    • Median
    • Mode
    • Ordinal rank
    • Pearson’s r
    • Per capita
    • Per square mile
    • Percentage
    • Percentage change
    • Percentile
    • Range
    • Split at breakpoints
    • Standard deviation
    • Summary statistics
    • Variation coefficient
  • Geospatial functions
    • Mean center
    • Nudge points
    • Random point
    • Standard-deviation distance

Contributing¶

  • Code repository: https://github.com/datadesk/latimes-calculate
  • Issues: https://github.com/datadesk/latimes-calculate/issues
  • Packaging: https://pypi.python.org/pypi/latimes-calculate
  • Testing: https://travis-ci.org/datadesk/latimes-calculate
  • Coverage: https://coveralls.io/r/datadesk/latimes-calculate
Next

© Copyright 2014, Los Angeles Times Data Desk. Revision 874c51ff.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.