I see this error
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'content' in selecting a method for function 'fromJSON': cannot open the connection
In addition: Warning message:
Failed to open 'https://comtradeapi.un.org/data/v1/getMetadata/C/M/HS': The requested URL returned error: 403
when I run integrate.r. Is this because I need my own API key and to do something to register it? I have uncommented the line Sys.setenv('COMTRADE_PRIMARY' = 'xxxxxxxxxxxxx') but this doesn't help. I read the guidance on getting an API key but don't want to bother with this if it is something else that is the problem and I should be able to get your API key to work
I see this error
when I run
integrate.r. Is this because I need my own API key and to do something to register it? I have uncommented the lineSys.setenv('COMTRADE_PRIMARY' = 'xxxxxxxxxxxxx')but this doesn't help. I read the guidance on getting an API key but don't want to bother with this if it is something else that is the problem and I should be able to get your API key to work