CorrelAid / restatis

R API Client for the German Federal Statistical Office Database
https://correlaid.github.io/restatis/
Other
22 stars 3 forks source link

Allow users to directly pass on options to the API call (e.g., via '...' and req_options) #34

Open yannikbuhl opened 3 months ago

yannikbuhl commented 3 months ago

At the moment, most of restatis's functions do not allow to modify the underlying HTTP call using httr2. For example, this might be a problem once someone tries to add proxy information. In httr2 it seems that there is no other way than using req_options to add more options to the API call. This is, at this moment, not supported by restatis and could be considered being added to all functions.

yannikbuhl commented 3 months ago

We would need to have the ... passed on to httr2::req_options(...) so you can set a proxy, for example.