Open Aariq opened 1 week ago
If date = 50, it attempts a query for the date "1970-02-20" (because that's what as.Date(50) is). If date = '50' it queries DOY 50
date = 50
"1970-02-20"
as.Date(50)
date = '50'
Simple solution is to require character input
If
date = 50
, it attempts a query for the date"1970-02-20"
(because that's whatas.Date(50)
is). Ifdate = '50'
it queries DOY 50