add_latest_events: Add the latest event to a database

View source: R/add_latest_events.R

add_latest_eventsR Documentation

Add the latest event to a database

Description

Stores the latest event to a google spreadsheet database.

Usage

add_latest_events(
  latest_events = NULL,
  ssid = NULL,
  sheet = NULL,
  new_sheet = F,
  overwrite = F,
  ...
)

Arguments

latest_events

A data.frame or data.table object with latest events.

ssid

ID of a google spreadsheet.

sheet

The name of the sheet in the google spreadsheet to write.

new_sheet

Logical. Should a new sheet be created? by default, the latest events will be appended on the existing sheet.

overwrite

logical. Do you want to overwrite data on the current sheet? default is FALSE, to append data to an existing sheet.

...

Additional params passed to the spreadsheet's endpoint gs4_create()

Value

The input ssid, as an instance of as_sheets_id()


psi-mis/a360connect documentation built on Nov. 22, 2022, 12:36 p.m.