Package: AdhereR 0.8.1

AdhereR: Adherence to Medications

Computation of adherence to medications from Electronic Health care Data and visualization of individual medication histories and adherence patterns. The package implements a set of S3 classes and functions consistent with current adherence guidelines and definitions. It allows the computation of different measures of adherence (as defined in the literature, but also several original ones), their publication-quality plotting, the estimation of event duration and time to initiation, the interactive exploration of patient medication history and the real-time estimation of adherence given various parameter settings. It scales from very small datasets stored in flat CSV files to very large databases and from single-thread processing on mid-range consumer laptops to parallel processing on large heterogeneous computing clusters. It exposes a standardized interface allowing it to be used from other programming languages and platforms, such as Python.

Authors:Dan Dediu [aut, cre], Alexandra Dima [aut], Samuel Allemann [aut]

AdhereR_0.8.1.tar.gz
AdhereR_0.8.1.zip(r-4.5)AdhereR_0.8.1.zip(r-4.4)AdhereR_0.8.1.zip(r-4.3)
AdhereR_0.8.1.tgz(r-4.4-any)AdhereR_0.8.1.tgz(r-4.3-any)
AdhereR_0.8.1.tar.gz(r-4.5-noble)AdhereR_0.8.1.tar.gz(r-4.4-noble)
AdhereR_0.8.1.tgz(r-4.4-emscripten)AdhereR_0.8.1.tgz(r-4.3-emscripten)
AdhereR.pdf |AdhereR.html
AdhereR/json (API)
NEWS

# Install 'AdhereR' in R:
install.packages('AdhereR', repos = c('https://ddediu.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ddediu/adherer/issues

Datasets:

On CRAN:

adherence-to-medicationselectronic-healthcare-datahadoopmedical-databasesmedication-historiespythonsqlvisualisation

35 exports 25 stars 2.96 score 9 dependencies 1 dependents 5 mentions 45 scripts 623 downloads

Last updated 8 months agofrom:bc135dc0c8. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winWARNINGSep 04 2024
R-4.5-linuxWARNINGSep 04 2024
R-4.4-winWARNINGSep 04 2024
R-4.4-macWARNINGSep 04 2024
R-4.3-winWARNINGSep 04 2024
R-4.3-macWARNINGSep 04 2024

Exports:callAdhereRCMA_per_episodeCMA_polypharmacyCMA_sliding_windowCMA0CMA1CMA2CMA3CMA4CMA5CMA6CMA7CMA8CMA9compute_event_durationscompute.event.int.gapscompute.treatment.episodescover_special_periodsget.event.plotting.areaget.legend.plotting.areaget.plotted.eventsget.plotted.partial.cmasgetCallerWrapperLocationgetCMAgetEventInfogetEventsToEpisodesMappinggetEventsToSlidingWindowsMappinggetInnerEventInfogetMGslast.plot.get.infomap.event.coords.to.plotplot_interactive_cmaprune_event_durationssubsetCMAtime_to_initiation

Dependencies:cpp11data.tablegenericsjpeglubridatepngrsvgtimechangewebp

AdhereR: Adherence to Medications

Rendered fromAdhereR-overview.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2022-06-24
Started: 2019-12-20

Calling AdhereR from Python 3

Rendered fromcalling-AdhereR-from-python3.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2022-06-24
Started: 2019-12-20

Using AdhereR with various database technologies for processing very large datasets

Rendered fromadherer_with_databases.pdf.asisusingR.rsp::asison Sep 04 2024.

Last update: 2019-12-20
Started: 2019-12-20

Readme and manuals

Help Manual

Help pageTopics
callAdhereR.callAdhereR
CMA_per_episode constructor.CMA_per_episode
CMA constructor for polypharmacy.CMA_polypharmacy
CMA_sliding_window constructor.CMA_sliding_window
CMA0 constructor.CMA0
CMA1 and CMA3 constructors.CMA1 CMA3
CMA2 and CMA4 constructors.CMA2 CMA4
CMA5 constructor.CMA5
CMA6 constructor.CMA6
CMA7 constructor.CMA7
CMA8 constructor.CMA8
CMA9 constructor.CMA9
Computation of event durations.compute_event_durations
Gap Days and Event (prescribing or dispensing) Intervals.compute.event.int.gaps
Compute Treatment Episodes.compute.treatment.episodes
Cover special periods.cover_special_periods
Example dispensing events for 16 patients.durcomp.dispensing
Example special periods for 10 patients.durcomp.hospitalisation
Example prescription events for 16 patients.durcomp.prescribing
Get the actual plotting area.get.event.plotting.area
Get the legend plotting area.get.legend.plotting.area
Get info about the plotted events.get.plotted.events
Get info about the plotted partial CMAs.get.plotted.partial.cmas
getCallerWrapperLocation.getCallerWrapperLocation
Access the actual CMA estimate from a CMA object.getCMA
Access last adherence plot info.last.plot.get.info
Map from event to plot coordinates.map.event.coords.to.plot
Example medication events records for 100 patients.med.events
Interactive exploration and CMA computation.plot_interactive_cma
Plot CMA_per_episode and CMA_sliding_window objects.plot.CMA_per_episode plot.CMA_sliding_window
Plot CMA0 objects.plot.CMA0
Plot CMA0-derived objects.plot.CMA1 plot.CMA2 plot.CMA3 plot.CMA4 plot.CMA5 plot.CMA6 plot.CMA7 plot.CMA8 plot.CMA9
Print CMA0 (and derived) objects.print.CMA0 print.CMA1 print.CMA2 print.CMA3 print.CMA4 print.CMA5 print.CMA6 print.CMA7 print.CMA8 print.CMA9 print.CMA_per_episode print.CMA_sliding_window
Prune event durations.prune_event_durations
Computation of initiation times.time_to_initiation