usa-npn / rnpn

R client for the National Phenology Network database API
https://rdrr.io/cran/rnpn/
Other
19 stars 9 forks source link

numeric input not handled well in `date` arg of `npn_download_geospatial()` #41

Open Aariq opened 1 week ago

Aariq commented 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

Aariq commented 1 week ago

Simple solution is to require character input