dbpf_observations_upload_check: Used to see if .csv is primed for upload.

View source: R/dbpf_observations_upload_check.R

dbpf_observations_upload_checkR Documentation

Used to see if .csv is primed for upload.

Description

Inserts a data frame of new devices_locations into database.

Usage

dbpf_observations_upload_check(con, dirPath)

Arguments

con

DB connection as returned by dbpf_con(). For insert priviledges specific user name and password need to be supplied.

dirPath

To local observations .csv file directory. Files should follow proper GP5W or FG2 naming convention. ie. E50BDA_YYYYMMDDhhmmss.csv

Details

Function will indicate whether the file you're about to upload is safe for uploading.

Value

An output log indicating whether .csv is fit for upload to sensorDb

Author(s)

Hannah Macdonell <hannah.macdonell@carleton.ca>


geocryology/PermafrostDB documentation built on April 17, 2025, 11:54 a.m.