-
Notifications
You must be signed in to change notification settings - Fork 18
How to use trademapper
hallworth edited this page Jun 6, 2019
·
20 revisions
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.
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.
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:
- http://trademapper.co.uk/?maxarrowwidth=40&minarrowwidth=2 - make arrows wider.
- http://trademapper.co.uk/?csvtype=cites&loadcsv=http://trademapper.co.uk/sample_data/cites/cites_unicorn.csv - load the CSV at http://trademapper.co.uk/sample_data/cites/cites_unicorn.csv as a CITES CSV and display the result.