CDU-data-science-team / nottshcMethods

An internal R package formalising common transformations, visualisations, and analyses of clinical data
https://cdu-data-science-team.github.io/nottshcMethods/
Other
4 stars 3 forks source link
package

nottshcMethods

R-CMD-check

The goal of nottshcMethods is to help us analyse our data faster and better.

Installation

You can install from GitHub with:

# install.packages("remotes")
remotes::install_github("CDU-data-science-team/nottshcMethods")

Slide and distill post templates

Once the package is installed, {xaringan} presentation slides with branding and {distill} post templates can be access easily using the RStudio IDE, by selecting File -> R markdown ... -> From Template.

Screenshot of the templates wizard selection list with Nottshc Presentation Slides highlighted

Functions

year_date()

A simple function to give the ‘yyyy’ string to a date column (of formats date, int and character). Can be used to find the earliest and latest year date in data which is useful in reports.

https://cdu-data-science-team.github.io/nottshcMethods/articles/date_helper.html

Code of Conduct

Please note that the nottshcMethods project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.