get_existing_appointments: get_existing_appointments() Get a list of appointments...

Description Usage Arguments Value Examples

Description

get_existing_appointments() Get a list of appointments already in calendar to avoid when creating clinics

Usage

1
get_existing_appointments(start = today(), end = today() + days(7))

Arguments

start

Start of period to search for pre existing appointments in

end

End of time period

Value

A list containing two items, both vectors of dates. $exclude contains days with events that would otherwise clash with clinics. $sundays contains Sunday on calls

Examples

1
get_existing_appointments(dmy("1/1/17"), dmy("1/2/17"))

iainxingham/clinics documentation built on May 15, 2019, 4:26 p.m.