SPARRAfairness

Analysis of Differential Behaviour of SPARRA Score Across Demographic Groups

CRAN Package

The SPARRA risk score (Scottish Patients At Risk of admission and Re-Admission) estimates yearly risk of emergency hospital admission using electronic health records on a monthly basis for most of the Scottish population. This package implements a suite of functions used to analyse the behaviour and performance of the score, focusing particularly on differential performance over demographically-defined groups. It includes useful utility functions to plot receiver-operator-characteristic, precision-recall and calibration curves, draw stock human figures, estimate counterfactual quantities without the need to re-compute risk scores, to simulate a semi-realistic dataset.

  • Version0.0.0.2
  • R version≥ 3.5.0 stats
  • LicenseGPL (≥ 3)
  • Needs compilation?No
  • Last release11/07/2024

Documentation


Team


Insights

Last 30 days

This package has been downloaded 423 times in the last 30 days. Enough downloads to make a small wave in the niche community. The curiosity is spreading! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 6 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
43 downloadsMar 4, 2025
6 downloadsMar 5, 2025
4 downloadsMar 6, 2025
5 downloadsMar 7, 2025
40 downloadsMar 8, 2025
1 downloadsMar 9, 2025
1 downloadsMar 10, 2025
11 downloadsMar 11, 2025
4 downloadsMar 12, 2025
42 downloadsMar 13, 2025
4 downloadsMar 14, 2025
6 downloadsMar 15, 2025
4 downloadsMar 16, 2025
22 downloadsMar 17, 2025
23 downloadsMar 18, 2025
7 downloadsMar 19, 2025
6 downloadsMar 20, 2025
9 downloadsMar 21, 2025
7 downloadsMar 22, 2025
6 downloadsMar 23, 2025
45 downloadsMar 24, 2025
3 downloadsMar 25, 2025
4 downloadsMar 26, 2025
6 downloadsMar 27, 2025
47 downloadsMar 28, 2025
2 downloadsMar 29, 2025
4 downloadsMar 30, 2025
2 downloadsMar 31, 2025
53 downloadsApr 1, 2025
6 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
1
53

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 3,634 times in the last 365 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The day with the most downloads was Apr 01, 2025 with 53 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends2 packages
  • Imports6 packages
  • Suggests2 packages