lib/formatters.js
function(line) {
		return {
			'id': Number(line[0]),
			'geoname_id': Number(line[1]),
			'isolanguage': String(line[2]),
			'alternate_name': String(line[3]),
			'is_preferred': Boolean(line[4]),
			'is_short': Boolean(line[5]),
			'is_colloquial': Boolean(line[5]),
			'is_historic': Boolean(line[6]),
		};
	}
function(line) {
		return {
			'id': Number(line[0]),
			'geoname_id': Number(line[1]),
			'isolanguage': String(line[2]),
			'alternate_name': String(line[3]),
			'is_preferred': Boolean(line[4]),
			'is_short': Boolean(line[5]),
			'is_colloquial': Boolean(line[5]),
			'is_historic': Boolean(line[6]),
		};
	}
function ( line ) { return { 'id' : Number ( line [ 0 ] ) , 'geoname_id' : Number ( line [ 1 ] ) , 'isolanguage' : String ( line [ 2 ] ) , 'alternate_name' : String ( line [ 3 ] ) , 'is_preferred' : Boolean ( line [ 4 ] ) , 'is_short' : Boolean ( line [ 5 ] ) , 'is_colloquial' : Boolean ( line [ 5 ] ) , 'is_historic' : Boolean ( line [ 6 ] ) , } ; }
"alternate names" table formatter.

[0] alternateNameId   : the id of this alternate name, int
[1] geonameid         : geonameId referring to id in table 'geoname', int
[2] isolanguage       : iso 639 language code 2- or 3-characters; 4-characters 'post' for postal codes and 'iata','icao' and faac for airport codes, fr_1793 for French Revolution names,  abbr for abbreviation, link for a website, varchar(7)
[3] alternate name    : alternate name or name variant, varchar(200)
[4] isPreferredName   : '1', if this alternate name is an official/preferred name
[5] isShortName       : '1', if this is a short name like 'California' for 'State of California'
[6] isColloquial      : '1', if this alternate name is a colloquial or slang term
[7] isHistoric        : '1', if this alternate name is historic and was used in the past

@param {array} line
@return {object}
alternate names table formatter .