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.13.8.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.13.8-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ukrdc_stats-2.13.8.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-1020-azure

File hashes

Hashes for ukrdc_stats-2.13.8.tar.gz
Algorithm Hash digest
SHA256 503ecd8fc8f5dd51a3fab75ab9f7dfea6e0b00a371420acfbbecd8a4c395224c
MD5 03f59ee2938e1b9c901f85139eb09ebc
BLAKE2b-256 0ed3e1029e6ee3d63d910ad7360a4ba214feb6b6d11d30dc9101fd845512b734

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ukrdc_stats-2.13.8-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-1020-azure

File hashes

Hashes for ukrdc_stats-2.13.8-py3-none-any.whl
Algorithm Hash digest
SHA256 33b454de047397d81e7ef7cb52291682dde9fa7f9292f0b3dfc448dcd5954862
MD5 54ee06fbb7d1558a03c10f1da34b07ad
BLAKE2b-256 a35f2754f7374df5dcc901f333c3087bec2d288f95e67ed37d4a468aebdd7c8a

See more details on using hashes here.

Release history Release notifications | RSS feed

2.14.1

2 files

2.14.0

2 files

2.13.9

2 files

This release

2.13.8 This release

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