dbpf_horizon_add: Add Horizon

View source: R/dbpf_horizon_add.R

dbpf_horizon_addR Documentation

Add Horizon

Description

Add a collection of (azimuth, horizon) measurements to a location.

Usage

dbpf_horizon_add(con, azimuth, horizon, location, time_UTC, mode = "test")

Arguments

con

Database connection object, as returned by dbpf_con

azimuth

integer vector of azimuths relative to true north [numeric]

horizon

vector of horizon angles corresponding to azimuths provided in azimuth [character]

location

Name of a single location at which the horizon measurements were taken. [character]

time_UTC

(optional) When the issue was discovered. If not provided the current time is used. [POSIXct]

mode

Should data be inserted into DB? Defaults to 'test' so that only testing information is returned. To insert: 'insert'

Details

Adds a collection of horizon measurements (i.e. (azimuth, horizon) pairs) to the database for a particular location.

Author(s)

Nick Brown <nick.brown@carleton.ca>


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