Convert BEA API httr response payload to list
Convert BEA API httr response payload to list
bea2List(beaPayload, isMeta = FALSE)
beaPayload |
An object with httr class 'response' from call to BEA API |
isMeta |
Special parameter meant to interact with metadata functions (default: FALSE) |
An object of class 'list' of several dimensions. View list structure using 'str(yourList)'.
userSpecList <- list('UserID' = 'yourKey' , 'Method' = 'GetData', 'datasetname' = 'NIPA', 'Frequency' = 'A', 'TableID' = '68', 'Year' = 'X') resp <- beaGet(userSpecList, asTable = FALSE) BL <- bea2List(resp)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.