clinic_list: clinic_list()

Description Usage Arguments Value Examples

Description

Take a start and end day and find work days

Usage

1
clinic_list(start, end, excluded = NULL, bank_hols = NULL)

Arguments

start

First day of time period to create events in

end

Last day of time period

excluded

A date vector containing days to be excluded ie no events to be created on these days

bank_hols

A date vector containing the dates of any bank holidays in the time period. No events will be created on bank holidays

Value

A data frame containing details of clinics to create

Examples

1
2
list_of_clinics <- clinic_list(dmy("1/1/17"), dmy("1/2/17"))
more_clinics <- clinic_list(today(), today()+day(14), bank_hols=scrape_bh_dates())

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