store_source_species: store source species in the database

Description Usage Arguments

Description

store source species in the database

Usage

1
store_source_species(source_species, datafield, conn, hash, clean = TRUE)

Arguments

source_species

a data.frame with source species metadata. Must contain local_id, description, datafield_local_id and extrenal_code. Other variables are ignored.

datafield

a data.frame with datafield metadata. Must contain variables local_id, datasource, table_name, primary_key and datafield_type.

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.