tryEnvCovDB: tryEnvCovDB

View source: R/tryEnvCovDB.R

tryEnvCovDBR Documentation

tryEnvCovDB

Description

Query the Environmental Covariate Database for other users prior to creating internal database tables.

Usage

tryEnvCovDB(nTries, secSleep, ch)

Arguments

nTries

The number of attempts to query the Environmental Covariate Database.

secSleep

The number of seconds to wait between attempts.

ch

A previously defined connection to the Environmental Covariate Database utilizing RPostgres::dbConnect.

Details

The function is a simple repeat-type loop, running at most nTries times.

Value

The function is nearly silent. It simply reports messages to the log file indicating connection attempts. In the case a connection is successful, a message of success is recorded.

Author(s)

WEST, Inc.


tmcd82070/CAMP_RST documentation built on April 6, 2022, 12:07 a.m.