build_date_fn: Function to build start/enddate helper fuctions

View source: R/select_by_year.R

build_date_fnR Documentation

Function to build start/enddate helper fuctions

Description

This builds functions identical to qof_years but they can be customised to the user's preferences

Usage

build_date_fn(start, end)

Arguments

start

list containing the offset in years, month and day as numerics for the start date

end

list containing the offset in years, month and day as numerics for the end date

Value

a function taking a year as an argument and returning a list of startdates and enddates


rOpenHealth/rEHR documentation built on Sept. 25, 2024, 5:32 p.m.