Skip to content

Instantly share code, notes, and snippets.

@alexhallam
Created April 23, 2018 17:13
Show Gist options
  • Save alexhallam/82d6c6d8064f232bf03c5f3550f39313 to your computer and use it in GitHub Desktop.
Save alexhallam/82d6c6d8064f232bf03c5f3550f39313 to your computer and use it in GitHub Desktop.
week year to date in r
mutate(date = as.Date(paste(fiscal_year, fiscal_week_number, 1, sep="-"), "%Y-%U-%u")) %>%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment