append_new_data_layer_to_CSV_layers: An Append New Data Layer to CSV Layers Sheet Function

Description Usage Arguments Examples

View source: R/append_new_data_layer_to_CSV_layers_sheet_function.R

Description

This function allows for the appending of a new data layer into your CSV layers sheet. Can be used in conjunction with map functions such as generate_csv_layer_row().

Usage

1
2
3
4
5
append_new_data_layer_to_CSV_layers(
  EarthTime_CSV_Layers_spreadsheetId,
  csv_layer_row,
  sheet = "CSV Layers"
)

Arguments

csv_layer_row

Specify the name of the csv layer output from previous functions.

sheet

Sheet to append to, in the sense of "worksheet" or "tab". You can identify a sheet by name, with a string, or by position, with a number.

ss

Something that identifies a Google Sheet: its file ID, a URL from which we can recover the ID, an instance of googlesheets4_spreadsheet (returned by sheets_get()), or a dribble, which is how googledrive represents Drive files. Processed through as_sheets_id().

Examples

1
2
3
4
## Not run: 
append_new_data_layer_to_CSV_layers(Sys.getenv("EarthTime_Layers_Sheet"), csv_layer_row)

## End(Not run)

andrewcberkley/EarthTimeR documentation built on Dec. 19, 2021, 3:33 a.m.