USA Banner

Official US Government Icon

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure Site Icon

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

U.S. Department of Transportation U.S. Department of Transportation Icon United States Department of Transportation United States Department of Transportation

BTS Data: Collected through Code

Tuesday, July 5, 2016

Graphic Version

Code captures content from BTS site

Returned data is processed and used to populate tables on Cascade Gateway Data

var baseUrl = "http://transborder.bts.gov/tbdr/tbdrportcommodity.jsp?" +

"TTMM={TradeTypeMeasureModes}" +

"&WCF={WeightConversionFactor}" +

"&CMMC={CommodityCodes}" +

"&PC={PortCodes}" +

"&NOP={PortCount}" +

"&TLY=({StartYears})" +

"&YRC={Year}" +

"&MOC=01,%2002,%2003,%2004,%2005,%2006,%2007,%2008,%2009,%2010,%2011,%2012"+

"&CNTYC=" +

"&SZV=SZVNo" +

"&TLM=(statmo%20LIKE%20'__')" +

"SIM=statyr,statmo" +

"&SIY=statyr" +

"&VF1=portusanaftamonthlycvw" +

"&VF2=portusanaftacvw" +

"&VF3=portusamonthlycvw" +

"&VF4=portusacvw" +

"&VFP3=cvw" +

"&DDF=Actual" +

"&CDYN=NoCD" +

"&YRN={Years}" +

"&MON=All%20Months" +

"&MEN=Value" +

"&MDN={TransportModes}" +

"&MNO={TransportModesCount}" +

"&CTYN=" +

"&TTN={TradeTypes}" +

"&TTNO={TradeTypesCount}" +

"&NOC=0" +

"&NOYR=1" +

"&NOM=12" +

"&NOCMM={CommodityCount}" +

"&CNTY=()" +

"&PYN=NoPC";