Skip to contents

{tutils} is Tom Utilities. A utilities package containing helper functions for common tasks. Your name does not have to be Tom to use it, but it might help.

Installation

You can install the development version of tutils like so:

# install.packages("remotes")
remotes::install_github("https://github.com/ThomUK/tutils")

Function listing

Function Detail
%not_in% The inverse of %in%
t_ts() Makes a timestamp in the form “year month day _ hour minute second”. eg. 20231103_221006
t_api_organisations() Queries the Organisation Data Service to get a dataframe continaing details of different types of NHS organisation
t_as_fy() Converts a date into the financial year it sits within (eg. “2020/21”). Assumes FY starts on 1st April

END