MapofLife / vernacular-names

A framework for managing vernacular names in a database, along with scripts to make sense of the data
0 stars 1 forks source link

A vernacular names framework for Map of Life

Stories in Ready

We need one place to put all the common names in a way that is easy to manipulate. We’re going to put it all into a single table with the following structure.

Languages: en, es, pt, de, fr, zh Current cmname count: 1,388,092 (as of August 4, 2014)

For now, I’m using the language ‘la’ to store the definitive list of species currently in Map of Life; I’ll delete it once I have a better way of storing lists in this system.

To pull out binomial names, I used:

To blank family, order and class names which ought to be blank

GENUS: (only if binomial!)

To fill in genera, you can use the following SQL, but it's probably a bad idea, as it means tax_genus comes from scname NOT from the source:

If you want to do that, there are exactly 41 rows you need to fix:

CUSTOM OPERATIONS:

HIGHER TAXONOMY TABLE