R4EPI / sitrep

Report templates and helper functions for applied epidemiology
https://r4epi.github.io/sitrep/
GNU General Public License v3.0
39 stars 14 forks source link

find_start_date defaults #307

Open nsbatra opened 1 year ago

nsbatra commented 1 year ago

find_start_date and find_end_date do not appear to return the recall_start or recall_end if the other searched columns are NA. The solution was to include recall_start and recall_end in the list of searched columns, but this is not ideal. The function should return the recall start/end date if none of the other dates are found.

See the sitrep survey walkthrough for example.