setTableNames: set table names internally

setTableNamesR Documentation

set table names internally

Description

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

Usage

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
)

Arguments

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.

Value

list

Author(s)

Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr)

Examples

defaultTableNames <- setTableNames()
#only modifying the names for the coordinates
myTable_withMyNames <- setTableNames (x.field='x_coord',y.field = 'y_coord') 

occTest documentation built on Nov. 18, 2022, 5:07 p.m.