Learn R Programming

starvz (version 0.8.3)

starvz_read: Read starvz trace files

Description

Read the directory of trace files (feather or parquet)
and the configuration file, and return a starvz_data class used in starvz functions

Usage

starvz_read(directory = ".",
               config_file = NULL, selective = TRUE)

Value

The starvz_data with all tables

Arguments

directory

Directory path of trace files

config_file

Path for configuration yaml file

selective

if True, only read data needed for creating panels activated in config

Examples

Run this code
if (FALSE) { # requireNamespace("arrow", quietly = TRUE)
starvz_read("folder_to_parquet_files/")
starvz_read(
  directory = "folder_to_parquet_files/",
  config_file = "path_to_config.yaml"
)
starvz_read() # Read current directory
}

Run the code above in your browser using DataLab