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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ukrdc_stats-2.13.9.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.9.tar.gz
Algorithm Hash digest
SHA256 ef9cd7038eb12647a9d47244fa8e085d1a3f848f4269793f3263f0e1a3c852f6
MD5 ffcd1befa764513779937f63fffe32bd
BLAKE2b-256 963bb70ad87130e01c00aff486aad6de05cf2812d328c80a3224cdcf83fd52a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ukrdc_stats-2.13.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 09becc248c9c552f13aaff9cc85c29b3e39d8b76e6d47e42561149b87b76e67f
MD5 e7fcaedafca93e61974e779988f2a93e
BLAKE2b-256 440af5bffdb7ecde104164aa94001214ceb94fe2196f3e698b48bf4aaf2c05d1

See more details on using hashes here.

Release history Release notifications | RSS feed

2.14.1

2 files

2.14.0

2 files

This release

2.13.9 This release

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