ACTupdate: Download ACT data base.

Description Usage Arguments Details Value See Also Examples

View source: R/ACTupdate.R

Description

ACTupdate connects to the ACT Network Dropbox data base using rdrop2, downloads the selected sheet, and saves the sheet to RData format. Note that you will have to log in and create an authorization token. The token can be saved for later use.

Usage

1
ACTupdate(sheet = "active", local.ACT = NULL, keep = F)

Arguments

sheet

character. Name, or part of the name, of the desired sheet to download. This will be appended to the abbreviation "ACT" to name the local version of the downloaded ACT spreadsheet. Defaults to "active".

local.ACT

character. Name of the local ACT spreadsheet within the working directory. Default is NULL.

keep

logical. Should you keep the downloaded xlsx? Default is F.

Details

The function checks if a local version of the selected spreadsheet exists. If it does not, or if the local version is older than the Dropbox version, it downloads the file from Dropbox. The .xlsx is converted to RData and deleted unless keep == T.

Value

Saves a copy of the current spreadsheet to your working directory in RData format. If keep == T, it also will save the orignial .xlsx.

See Also

vemsort, ACTsplit

Examples

1
2
ACTupdate()
ACTupdate(sheet = 'res')

mhpob/TelemetryR documentation built on Sept. 28, 2020, 11:33 a.m.