Learn R Programming

dataquieR (version 2.0.1)

prep_load_workbook_like_file: 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)

Value

data.frame

invisible(the cache environment)

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.

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

Run this code
if (FALSE) {
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
}

Run the code above in your browser using DataLab