Translation of birthplace in standardized en/fr is not done at that moment (15 June 2022) : there is only a birthplace_id to link with port in the ETL...
The attribute citizenship has not its own id filled neither in navigocorpus.
Each ship attribute (name, homeport, flag, tonnageclass, class) is associated with the frequency of occurence in source documents in a JSON array format :
[{"variant1 of the attribute" : frequency}, {"variant2 of the attribute" : frequency}].
This ship having 0010348N as identifier appears in 2 documents, named "Negociant" (once) or "Négociant de Bruges" (once). The ship's homeport is said "Bruges" in one case, "Hambourg" in the other case, and the ship's tonnage is between "101-200" tons in boths cases.
This ship having 0011092N as identifier appears in 3 documents, named "Vierge du Rosaire" (twice) or "Notre Dame du Rosaire" (once). The ship's homeport is said "Gênes" in one case, "savoyard" in the other case, and the ship's tonnage is unknown but the ship's class is said to be "bateau" in two documents, "tartane" in the third document.
# /captains?
Return the captains'list that we can follow in travels
Will be extracted from postgres, schema navigoviz, table captain (see sql/portic_detailviz.sql),
but with a filter on the lang : only fr or en attributes
- lang : **fr** | en, language for flag(_standardized), homeport, and birthplace (later on)
Each captain attribute (name, citizenship, birthplace) is associated with the frequency of occurence in source documents in a JSON array format :
[{"variant1 of the attribute" : frequency}, {"variant2 of the attribute" : frequency}].
For instance :
00014569 [{"Accamo, Jean Baptiste" : 18},{"Accamo,Jean Baptiste" : 1},{"Accame, Jean Baptiste" : 1},{"Accamé, Jean Baptiste" : 1},{"Accamo, Jean BAptiste" : 1}] [{"Génois" : 18},{"Genois" : 3}]
This captain idendified by the number 00014569 has been found named "Accamo, Jean Baptiste" 18 times, but only once named "Accame, Jean Baptiste". In 18 documents, he was a Génois, in 3 he was a Genois. The citizenship attribute has not been yet standardized.
commentontablenavigoviz.shipis'List of ships''descriptions with variantes for the name, flag, homeport, tonnage_class and class of ship';
commentontablenavigoviz.captainis'List of captains''descriptions with variantes for the name, citizenship, birthplace of captain';
commentoncolumnnavigoviz.ship.ship_idis'unique identifier of ship set by Silvia who identifies the same ships through out various source documents';
commentoncolumnnavigoviz.ship.occurences_namesis'JSON array of various names of the same ship through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.ship.occurences_homeports_fris'JSON array of various homeports (standardized name in FR lang) of the same ship through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.ship.occurences_homeports_enis'JSON array of various homeports (standardized name in EN lang) of the same ship through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.ship.occurences_flags_fris'JSON array of various flag (standardized name in FR lang) of the same ship through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.ship.occurences_flags_enis'JSON array of various flag (standardized name in EN lang) of the same ship through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.ship.occurences_classis'JSON array of various class types of the same ship through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.ship.occurences_tonnageclassis'JSON array of various categories of tonnage of the same ship through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.captain.captain_idis'unique identifier of captain set by Silvia who identifies the same captain through out various source documents';
commentoncolumnnavigoviz.captain.occurences_namesis'JSON array of various names of the same captain through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.captain.occurences_birthplacesis'JSON array of various birthplace of the same captain through sources, with the frequecy of appearance in documents';
commentoncolumnnavigoviz.captain.occurences_citizenshipsis'JSON array of various citizenship of the same captain through sources, with the frequecy of appearance in documents';