Learn R Programming

occTest (version 0.1.1)

setTableNames: 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
)

Value

list

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.

Author

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

Examples

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

Run the code above in your browser using DataLab