setTableNames | R Documentation |
helper function to set the names for the fields in the input table (tableSettings). By default it provides rbif like column names (not fully consistent yet tho). Alternatively, the user can specify their own field names for the table
setTableNames( x.field = NULL, y.field = NULL, t.field = NULL, l.field = NULL, c.field = NULL, e.field = NULL, a.field = NULL, ds.field = NULL, taxonobservation.id = NULL )
x.field |
character. Name of the x coordinate field. |
y.field |
character. Name of the y coordinate field. |
t.field |
character. Name of the timestamp field. |
l.field |
character. Name of the locality field. |
c.field |
character. Name of the country code field. |
e.field |
character. Name of the eleveation field. |
a.field |
character. Name of the accuracy field. |
ds.field |
character. Name of the dataset identifier field. |
taxonobservation.id |
character. Name of the taxon observartion id field. |
list
Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr)
defaultTableNames <- setTableNames() #only modifying the names for the coordinates myTable_withMyNames <- setTableNames (x.field='x_coord',y.field = 'y_coord')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.