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.1.tar.gz (31.8 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.1-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ukrdc_stats-2.14.1.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.2 CPython/3.12.14 Linux/6.17.0-1022-azure

File hashes

Hashes for ukrdc_stats-2.14.1.tar.gz
Algorithm Hash digest
SHA256 d35bc5172a120d3c70d907b73ac9b7bbf4039779de06eb34b565eb8e44f98507
MD5 899e065f8b097c4848ff8362a70801aa
BLAKE2b-256 c01c6ebc39ea67e6d19aa8c83615c7eb731ca67d49dec44824581f67255e20cb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ukrdc_stats-2.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a61494093af28dcbc2e1bc18953da53a8eec44e221097eecfc6ff681a9c198ed
MD5 86777d8678047cdf0ac6345bec2ef253
BLAKE2b-256 e6f761816ebf8ae1766acb8d0d7b11a1fe938858b54a1e650cadb9a06d3566d4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.14.1 This release

2 files

2.14.0

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