Exhibit/CSV-TSV Importer

Exhibit Reference Home &raquo;

The CSV-TSV Importer allows Exhibit to work off of CSV or TSV formatted data.

Basics
To make your TSV/CSV Exhibit, you must include one of the following link tags into the head of your exhibit HTML file, referencing the file you wish to use as your data source.



or



Formatting the Data
If you are creating the TSV/CSV file yourself, the first line should provide the names of the properties along with their value types as shown below. In the case that the value type is “text”, then you do not have to specify it as it is the default type.

label,url:url,image:url,City,Region,Winners,Runner-up,ChampionshipSeasons

or

label  url:url image:url      City    Region  Winners Runner-up      ChampionshipSeasons

Adding the Property Names and Value Types
If instead the data is taken from another website and you would like to add or replace the existing property names to match the Exhibit format, you must change the link so that it follows the structure below:



The “ex:properties” attribute allows you to specify a comma-separated list of names and types for the properties. The “ex:hasColumnTitles” attribute, which is set to true by default, lets you specify whether the data file already contains a header row. If a list of properties is specified in ex:properties and ex:hasColumnTitles is set to true, the property list will override the existing header row. Note, you will get an error if you set ex:hasColumnTitles to false and do not provide a list of property names.

Live Example
Italian Soccer Exhibit || CSV || TSV