prep_load_workbook_like_file: Pre-load a file with named (usually more than) one table(s)

View source: R/prep_load_workbook_like_file.R

prep_load_workbook_like_fileR Documentation

Pre-load a file with named (usually more than) one table(s)

Description

These can thereafter be referred to by their names only. Such files are, e.g., spreadsheet-workbooks or RData-files.

Usage

prep_load_workbook_like_file(file)

Arguments

file

the file name to load.

Details

Note, that this function in contrast to prep_get_data_frame does neither support selecting specific sheets/columns from a file.

Value

data.frame ⁠invisible(the cache environment)⁠

See Also

prep_add_data_frames

prep_get_data_frame

Other data-frame-cache: prep_add_data_frames(), prep_get_data_frame(), prep_list_dataframes(), prep_purge_data_frame_cache()

Examples

## Not run: 
file_name <-
  system.file("extdata", "meta_data_extended.xlsx", package = "dataquieR")
prep_load_workbook_like_file(file_name)
prep_get_data_frame(
  "dataframe_level") # dataframe_level is a sheet in the file

## End(Not run)

dataquieR documentation built on July 26, 2023, 6:10 p.m.