store_species: store species in the database

Description Usage Arguments

Description

store species in the database

Usage

1
store_species(species, language, conn, hash, clean = TRUE)

Arguments

species

a data.frame with species metadata. Must contain at least 'local_id', 'scientific_name' and 'nbn_key'. Other variable names must match the values in 'language$code'.

language

the data.frame with language Must contains code and description. Other variables are ignored. code and description must have unique values.

conn

a DBIconnection

hash

the hash of the update session

clean

perform all database operations within a transaction and clean up the staging tables. Defaults to TRUE.


inbo/n2kupdate documentation built on May 8, 2019, 5:42 p.m.