opensdmx / rsdmx

Tools for reading SDMX data and metadata in R
https://github.com/opensdmx/rsdmx/wiki
105 stars 30 forks source link

Headers for requests #162

Closed ghost closed 4 years ago

ghost commented 4 years ago

Would it be worthwhile adding a header argument to the readSDMX function?

I'm testing the Australian Bureau of Statistics' new API (Beta). For my application, I have to authenticate with an access key in the header of the request.

Using the accessKey argument in readSDMX where the key gets added to the url as a parameter doesn't work in this instance, though I'm not sure if this is by design or an issue with the API.

ghost commented 4 years ago

Proposed list argument added in https://github.com/opensdmx/rsdmx/pull/163. Apologies in advance, I'm new to sdmx and R package development - happy to make changes.

eblondel commented 4 years ago

Merged in #163