hmrc_api_requester: HMRC api query function

Description Usage Examples

View source: R/HMRC_API.R

Description

Used by all wrapper functions it takes the URL replaces the spaces with '%20' so the query doesn't break and then tidies the output getting rid of unnecessary things. Gives you a warning if your query is too big.

Usage

1

Examples

1
 hmrc_api_requester("https://api.uktradeinfo.com/ots?$apply=filter(MonthId gt 202008 and CommoditySitcId lt -1)&$count=true")

FruzsiG/hmrcwrappER documentation built on Dec. 17, 2021, 9:22 p.m.