pad | R Documentation |
Function to pad out missing time points
pad(data, start_date = NULL, end_date = NULL, drop_last = FALSE)
pad_serie(serie, start_date = NULL, end_date = NULL, drop_last = FALSE)
data |
tibble in rOstluft long format |
start_date |
optional start date for padding. Default min date in series |
end_date |
optional end date for padding. Default max date in series |
drop_last |
optional drop the last added time point by padding. Useful when resampling and end_date is the first time point of the new interval |
serie |
a tibble in rOstluft long format containing exactly one serie |
tibble with padded data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.