Skip to content

How to use trademapper

hallworth edited this page Jun 6, 2019 · 20 revisions

Getting Started

There's a hosted version at http://trademapper.co.uk/. You can see some test data preloaded.

Beyond that, please view our TradeMapper user guide.

Data

Currently TradeMapper accepts data in CSV format from the CITES and ETIS databases. The CSV data never leaves your computer when you upload it.

We include one file in CITES format - cites_unicorn.csv - that you can play with locally or online. You can download further CITES data from http://trade.cites.org/ and use that with TradeMapper.

We plan to suport other data formats soon.

URL Parameters

You can do some configuration of TradeMapper by adding URL parameters. The ones currently used are:

  • maxarrowwidth - the maximum width of the arrows, in pixels (default: 25)
  • minarrowwidth - the minimum width of the arrows, in pixels (default: 1)
  • loadcsv: the URL of a CSV file to be loaded. If csvtype is not specified, you will be prompted to specify the meaning of the columns in the CSV file. No default.
  • csvtype: the "type" of CSV file to be loaded. The supported values are currently "cites", "etis" and "seizure". The loadcsv parameter must also be present or this will be ignored.

So for example you could have: