Skip to contents

This takes the data frames from the environment and saves them to a single excel workbook where each table is its own spreadsheet.

Usage

sbf_save_workbook(
  workbook_name = basename(getwd()),
  sub = sbf_get_sub(),
  main = sbf_get_main(),
  env = parent.frame(),
  epgs = NULL,
  x_name = ".*"
)

Arguments

workbook_name

The name of the excel workbook you are creating. Default is the base name of the current working directory.

sub

A string or character vector specifying the path to the sub folder (by default the current sub folder).

main

A string specifying the path to the main folder (by default the current main folder)

env

An environment.

epgs

The projection to convert to

x_name

A string of the Perl-compatible regular expression to match.

Value

An invisible string of the path to the saved data.frame

Examples

if (FALSE) { # \dontrun{
sbf_save_workbook()
} # }