store_anomaly: Store anomaly

Description Usage Arguments

Description

Store anomaly

Usage

1
store_anomaly(anomaly, anomaly_type, parameter, hash, conn, clean = TRUE)

Arguments

anomaly

a data.frame with variables "anomaly_type_local_id", "datafield", "analyis" and "parameter_local_id".

anomaly_type

a data.frame with variables "local_id", "description" and "long_description". "long_description" is optional

parameter

a data.frame with parameters. Must contains the variables "description", "local_id", and "parent_parameter_local_id". Other variables are ignored.

hash

the hash of the update session

conn

a DBIconnection

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.