opendatabio / opendatabio-r

R package for interacting with OpenDataBio
https://opendatabio.gitlab.io/
GNU General Public License v3.0
3 stars 2 forks source link

Odb_params and URLEncode for GET to work #18

Closed betovicentini closed 6 years ago

betovicentini commented 6 years ago

Either function Odb_param encodes values, or errors will occur when some characters (like white spaces) are not encoded.

I tried a location search=La Guarira or even search='La Guarira' and in both cases the function fails. It worked when search=URLencode(x) was used.