You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 26, 2020. It is now read-only.
I'm trying to run the README.md example but I got this error wen trying to import data:
------------------------------
station: 83936
OK (HTTP 200).
Error in (rowheader + 1):(length(x) - 1) : argument of length 0
My code is:
stations<- c("Santa Maria", "Macapá")
stations_rows<- pmatch(stations, bdmep_meta$name)
stns_codes<-bdmep_meta[stations_rows, "id"]
# the line that returns this errormet_data<- bdmep_import(id=stns_codes,
sdate="01/01/2012",
edate="01/02/2012",
destdir='C:/',
email="user@gmail.com",
passwd="666",
verbose=T)
Is this problem related to the code (in the example)? or with any change in the location or format of the data (I saw that the site has changed its address)?