Skip to main content

Dashboard Statistics Library

Library for generating statistics for the UKRDC dashboard

Installation

pip install ukrdc-stats

Basic usage

Statistics calculations require an SQLAlchemy session with a connection to the UKRDC3 database. In this example, we use ukrdc3_session, and calculate for the unit code "TEST_UNIT".

from ukrdc_stats import DemographicStatsCalculator

demographics = DemographicStatsCalculator(ukrdc3, "TEST_UNIT").extract_stats()

Each calculator returns multiple stats from the same cohort, and each of those includes basic metadata required for rendering and plotting the data.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ukrdc_stats-2.14.0.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ukrdc_stats-2.14.0-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file ukrdc_stats-2.14.0.tar.gz.

File metadata

  • Download URL: ukrdc_stats-2.14.0.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1022-azure

File hashes

Hashes for ukrdc_stats-2.14.0.tar.gz
Algorithm Hash digest
SHA256 b90eeef582750d0e7b6f31de6da07e268bba1bd6e1aac4b7e64587dbac727626
MD5 0563aeba2f4881b1d98dfedd4f7b8e54
BLAKE2b-256 d742e072e8ec72b28603d8c4829bd54aa08f31d2d2c586be958ef4bab127e85e

See more details on using hashes here.

File details

Details for the file ukrdc_stats-2.14.0-py3-none-any.whl.

File metadata

  • Download URL: ukrdc_stats-2.14.0-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1022-azure

File hashes

Hashes for ukrdc_stats-2.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 236ed5c46c01417c1b869a60fd2dc8fd4978bf92ab4d6334866b96976d3cd0f9
MD5 0b6dc4cfcc230f6f6873bcd5de1752f4
BLAKE2b-256 942ca1ab2eb49e3d96bd2df09bbbafe23383ed9850bab284a86b607206bf153f

See more details on using hashes here.

Release history Release notifications | RSS feed

2.14.1

2 files

This release

2.14.0 This release

2 files

2.13.9

2 files

2.13.8

2 files

2.13.7

2 files

2.13.6

2 files

2.13.5

2 files

2.13.4

2 files

2.13.3

2 files

2.13.2

2 files

2.13.1

2 files

2.13

2 files

2.12.1

2 files

2.12.0

2 files

2.11.0

2 files

2.10.0

2 files

2.9.0

2 files

2.8.0

2 files

2.7.0

2 files

2.0.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page