Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note in code about company-specific timing #378

Open
sarabodach opened this issue Jul 1, 2024 · 0 comments
Open

Add note in code about company-specific timing #378

sarabodach opened this issue Jul 1, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation update existing check Proposal to refine an existing check function

Comments

@sarabodach
Copy link
Collaborator

# if today is before the first Monday of May, WHODrug version is the previous version, ie SEPTEMBER 1, 2020
# if today is after the first Monday of November, WHODrug version is the next version, ie SEPTEMBER 1, 2021
whodrug_ver <- case_when(t < date1 ~ paste0("SEPTEMBER 1, ", as.numeric(y)-1),
t >= date1 & t< date2 ~ paste0("MARCH 1, ", as.numeric(y)),
t>= date2 ~ paste0("SEPTEMBER 1, ", as.numeric(y))
)

@sarabodach sarabodach added documentation Improvements or additions to documentation update existing check Proposal to refine an existing check function labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation update existing check Proposal to refine an existing check function
Projects
None yet
Development

No branches or pull requests

1 participant