Vous êtes sur la page 1sur 2

4/12/2015

ComtradeSDMX,WebServicesandDataExchange(ComtradeTools,Dataexchange,SDMX,WebServices)

UNComtrade|TradeStatisticsBranch|StatisticsDivision
TradeStatisticsKnowledgebase

Home

WelcomeGuest(Login)

Search

Tags

Glossary

LatestAdditions

Members

MostPopular

Knowledgebase
HomeKnowledgebaseUNMerchandiseTradeUNComtradeDataWebservicesComtradeSDMX,WebServicesandDataExchange

ComtradeSDMX,WebServicesandData...

Details

Comtrade SDMX, Web Services and Data...

LastModified:Thursday,September
16,2010

ComtradeSDMX,WebServicesandDataExchange
GeneralInformation
PleaserefertothesearticlesforgeneralinformationaboutComtradeSDMX,WebServicesand
DataExchange:
UNComtradeSDMX
DataExtractionUsingComtradeWebService
DataExchangeSuite(DES)
YoucangettheSDMXformatbyclickingtheSDMXdownloadinanyofqueryresultpages(foran
exampleathttp://comtrade.un.org/db/dqBasicQueryResults.aspx?
cc=62&px=BE&r=251&p=705&rg=2&so=6)
TheSDMXkeyfamiliesandsimplepowerpointpresentationaboutComtradeSDMXareattached
tothisarticle:UNComtradeSDMX.

LastModifiedBy:comtrade_admin
Type:INFO
Rated5starsbasedon1vote
Articlehasbeenviewed32,944times.

Options
EmailArticle
PrintArticle
BookmarkArticle
SocialBookmarks

Security&Authentication
ExportAsPDF

ComtradeWebServicesuseIPauthentication.Ausermusthavepremiumaccessserviceaccountin
UNComtradeandWebServiceaccessrightisgranted.
Dependingonaccessright,thefollowingdatacanbeobtained:
ComtradeData,TariffLineData,TotalTrade,AnnualTotals,ProcessedDataorOriginalData.The
latestthreearerestrictedfordataexchangebetweenUNandOECD.
Clickheretocheckyouraccessrights:http://comtrade.un.org/ws/CheckRights.aspx
ComtradeTools
ThereisnoneedtousespecialtooltoaccessComtradeWebService.Datacanbeobtainedvia
webbrowserbyprovidingtherighturl(seeexamplebelow).
However,therearemanylimitationswithwebbrowser:limiteddatadownloadsizeanddifficulty
tocreateurlstring.
ComtradeToolswasdevelopedtohelpuserdownloadingdatawithsynchronizationandDTSengine
builtin(itispossibletoimportdatatoSQLServerdirectly).
Foranexample,ifyouwanttodownloadnewdataforEU25countries,youjustneedtospecifya
projectinComtradeToolsandrunit.Thenexttimeyourunitagain,itwillonlydownloadthe
latestaddition.
Note:ComtradeToolsisacommandlineprogram.Stepbystepinstructioncanbefoundat
http://comtrade.un.org/ws/comtradetools.aspx
Reminder:ComtradeToolsisnotrequiredtool.Anybodycanmakeitsowndownloadtool.

http://unstats.un.org/unsd/tradekb/Knowledgebase/ComtradeSDMXWebServicesandDataExchange

1/2

4/12/2015

ComtradeSDMX,WebServicesandDataExchange(ComtradeTools,Dataexchange,SDMX,WebServices)

URLExample
Countrycode:381=Italy
Classification:H1=HS1996
Years:2002and2003
http://comtrade.un.org/ws/getSdmxV1.aspx?
px=H1&r=381&y=2003,2002&cc=TOTAL&p=0&comp=false
Countrycode:36=Australia
Classification:S2=SITCRev.2
Year:2004
http://comtrade.un.org/ws/getSdmxV1.aspx?px=s2&r=36&y=2004&cc=TOTAL&p=0&comp=false
AttachedFile
Hereistheexampleof2005dataforreportercountryAlbania(no.8ofUNcode)fortheHS1996.
TheattachedzippedfileholdstheXMLoriginalfileplustheCSVconvertedfile,whichwillbeused
forloadingtoSQLviaDTS.ThelinkfromtheWebbelowwillgiveyouthesameinformationina
WebServiceformat.
http://comtrade.un.org/ws/getSdmxV1.aspx?px=H1&r=8&y=2005&cc=TOTAL&p=0&comp=false

RatethisArticle:

Tags:ComtradeTools,Dataexchange,SDMX,WebServices

Attachments

SDMXSample.zip(1.65MB,9,070views)
DataTransferMechanisation_DST001CEn.doc(812.50KB,7,065views)
RelatedLinks

StatisticalDataandMetadataExchange
ComtradeTools(BETA)
SDMXUserGuides
DataExtractionUsingComtradeWebService
UNComtradeSDMX
DataExchangeSuite(DES)
AdvancefacilityondataquerythroughUNComtradeReferences(viaComtradeWebServices)
UNComtradeDataAvailability(viaComtradeWebServices)
AddYourComments

Commentrequireloginorregistration.

Backtotop|StatisticsDivisionHome|ContactUs|Search|SiteMap
CopyrightUnitedNations,2010

http://unstats.un.org/unsd/tradekb/Knowledgebase/ComtradeSDMXWebServicesandDataExchange

2/2