Description Usage Arguments Details Value Examples
View source: R/dog_aabningstid.R
Keep only observations that are in the openings hours. Requires that the columns created by date_column.
1 | dog_aabningstid(df, x = NULL)
|
df |
A data frame that has these components from a timestamp: date, weekday, and hour_min. |
x |
A vector containing closed days. |
The date_columns function has to be run before we can use this function.
A subset of the rows. weekday = 7 is saturday and weekday = 1 is sunday.
1 2 | dog_date_columns(tibble::tibble(time = paste(Sys.time())), time) %>%
dog_aabningstid()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.