Skip to main content

PAC analytics toolkit for primary care data processing and reporting

Project description

pac-stats

PAC analytics toolkit for primary care (PCN) reporting.

Install

pip install pac-stats

Usage

from pac_stats import full_process

practice_one = pd.read_html(r"X:\File Path\PAC & MDT Master Search.html") # r"<File Path for practice report from EMIS>"
practice_one = practice_one[0] # get the dataframe from list created by read html
practice_one = practice_one[~practice_one.isnull().all(axis=1)] # remove null rows caused by confidential hidden patients
practice_one['Practice'] = 'Practice Name' # Practice Name or Abbreviation

practice_two = pd.read_html(r"X:\File Path\PAC & MDT Master Search.html") # r"<File Path for practice report from EMIS>"
practice_two = practice_one[0] # get the dataframe from list created by read html
practice_two = practice_one[~practice_one.isnull().all(axis=1)] # remove null rows caused by confidential hidden patients
practice_two['Practice'] = 'Practice Name' # Practice Name or Abbreviation


reports = [practice_one, practice_two]

icb, extended = full_process(
    reports=reports,
    pac_staff=pac_staff,
    export_path=r"C:\exports\output.xlsx"
)

Project details


Download files

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

Source Distribution

pac_stats-0.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

pac_stats-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file pac_stats-0.1.0.tar.gz.

File metadata

  • Download URL: pac_stats-0.1.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pac_stats-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c4a3e8bfc2985eef724b18251fc2c3ed5d56c2c4eb85c2afbaf65e142482887e
MD5 319195f4a2d20d229c40786fcd4182f8
BLAKE2b-256 74031b9e9a7ac2317638f36ded4b15f80ea8d00d08846ca2fe375ee3842f5f9f

See more details on using hashes here.

File details

Details for the file pac_stats-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pac_stats-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pac_stats-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 018ddb38d2ca45c6f0e955b20478f7b1f1d1d71bc700d2faeb68c6588605d3ae
MD5 a792e1a47af37ed81f63b95cc1976d35
BLAKE2b-256 77e1f18014baccb3477db6dae4c7677b17820bfbc9a01b0a49e78e9918e92364

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page