Closed katrinleinweber closed 6 years ago
x[[1]][1]$url : $ operator is invalid for atomic vectors probably from interaction of
x[[1]][1]$url : $ operator is invalid for atomic vectors
https://github.com/tibhannover/BacDiveR/blob/development/R/retrieve_data.R#L75
with
https://github.com/tibhannover/BacDiveR/blob/development/R/retrieve_data.R#L97-L103
Rcurl
fromJSON
loop
gsub
I meant #54 m-(
x[[1]][1]$url : $ operator is invalid for atomic vectors
probably from interaction ofhttps://github.com/tibhannover/BacDiveR/blob/development/R/retrieve_data.R#L75
with
https://github.com/tibhannover/BacDiveR/blob/development/R/retrieve_data.R#L97-L103
try removingRcurl
and hand URL over tofromJSON
directlypassloop
flag into download to switch offgsub
for single downloads