You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above example provided, how would you express None through R? Many of the None varibles are reported as string, however 'None' does not work and I receive the error Error in calling API: https://comtradeapi.un.... Same issue for True.
Setting a variable None = None, or None = "None" also does not return any results.
Any further help for using the package in R would be appreciated,
Many thanks.
The text was updated successfully, but these errors were encountered:
mydf = ctdr$getFinalDataAvailability(subscription_key, typeCode='C', freqCode='A', clCode='HS',
period='2021', reporterCode='170') works fine..
mydf = ctdr$getFinalDataAvailability(subscription_key, typeCode='C', freqCode='A', clCode='HS',
period='2021', reporterCode=None) produced Error in eval(cl, parent.frame()) : object 'None' not found
Additional context
Afternoon,
This is less of a feature request and more of a help request.
I have integrated the package with R through the package 'reticulate'.
I cannot however complete an API query , for example
mydf = comtradeapicall.previewTarifflineData(typeCode='C', freqCode='M', clCode='HS', period='202205',
reporterCode='36', cmdCode='91,90', flowCode='M', partnerCode=36,
partner2Code=None,
customsCode=None, motCode=None, maxRecords=500, format_output='JSON',
countOnly=None, includeDesc=True)
In the above example provided, how would you express None through R? Many of the None varibles are reported as string, however 'None' does not work and I receive the error Error in calling API: https://comtradeapi.un.... Same issue for True.
Setting a variable None = None, or None = "None" also does not return any results.
Any further help for using the package in R would be appreciated,
Many thanks.
The text was updated successfully, but these errors were encountered: