find_between: Convenience function for creating request query

View source: R/create_requests.R

find_betweenR Documentation

Convenience function for creating request query

Description

Convenience function for creating request query

Usage

find_between(x = "dateString", lower = NULL, upper = NULL, inc.bounds = TRUE)

Arguments

x

An orderable vector, i.e., those with relevant methods for '<=', usually a date field.

lower

Lower range bound of length 1. Will be coerced to character if not already.

upper

Upper range bound of length 1. Will be coerced to character if not already.

inc.bounds

'TRUE' (default) means inclusive bounds, i.e., [lower,upper]. 'FALSE' means exclusive bounds, i.e., (lower,upper).

Value

A list of maximum length 2, with expressions to use in later functions like 'make_request'.


jwilliman/nightscout-insulin documentation built on Dec. 4, 2024, 3:16 a.m.