error reading certain urls with r

I am using the rsdmx package to read url requests into r. However certain urls have recently begun throwing an error. For example passing the following url to rsdmx:,SDG4,1.0/SCH.................?format=sdmx-compact-2.1&lastNObservations=1&locale=en (key removed) throws: "Error in curlPerform(curl = curl, .opts = opts, .encoding = .encoding) : embedded nul in string: '\037 U+008B>\b'" This same url (along with others) was was working some weeks ago. Other requests can be correctly exucuted by rsdmx though. For example:,SDG4,1.0/ADMIN.................?format=sdmx-compact-2.1&lastNObservations=1&locale=en I have been in contact with the author of the rsdmx package and he is unsure of the source of the error.


    Hi, Sorry for the late reply but I somehow missed this issue. I checked the query and it's returning data. My guess is that the error is related to encoding. The API uses UTF-8 econding so perhaps you can specify that in the rsdmx library when parsing the data. I hope this helps. Admin
    Posted by Hidden Tue, 06 Feb 2018 16:20:54 GMT
    The error has been resolved, thank you.
    Posted by Hidden Thu, 22 Feb 2018 09:29:51 GMT

You're not signed in. Please sign-in to report an issue or post a comment.