Skip to contents

The function processes the httr2response object, parses the json and adds the respective iso codes for the reporter and partner countries, as well as the commodity code description.

Usage

process_comtrade_response(resp, verbose = F)

Arguments

resp

a valid httr2 response object created from the function `perform_comtrade_request`

verbose

whether the function sends status updates to the console

Value

a data.frame object with the results