hfr_fix_date | R Documentation |
The submission templates do not have date validations stored in the Excel files, so there can be a number of date types submitted that we attempt to account for outside of the normal, ISO format of YYYY-MM-DD. This function handles each identfied date type as a separate dataframe and then binds them back together. Date formats include - Excel, ISO, character dates. If the round_hfrdate param is TRUE, the function rounds to the start of the week or month and aggregates any mid-week/month submission.
hfr_fix_date(df, round_hfrdate = FALSE)
df |
HFR data frame imported via |
round_hfrdate |
rounds date to the nearest HFRweek start (for non-compliance), default = FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.