spsTabInfo {systemPipeShiny} | R Documentation |
View SPS project 'config/tabs.csv' information
spsTabInfo(return_type = "print", n_print = 40, app_path = getwd())
return_type |
one of 'print', 'data', 'colnames', or a specified column name |
n_print |
how many lines of tab info you want to print out |
app_path |
SPS project root |
'print' will print out the entire tabs.csv, you can
specify n_print
for how many lines you want to print;
'data' will return the tab info tibble
'colnames' will return all column names of tab info file
A column name will extract the specified column out and return as a vector
return depends on return_type
spsInit(project_name = "SPS_tabinfo", overwrite = TRUE, change_wd = FALSE, open_files = FALSE) # all lines spsTabInfo("print", app_path = "SPS_tabinfo") # 5 lines spsTabInfo("print", app_path = "SPS_tabinfo", n_print = 5L) spsTabInfo("data", app_path = "SPS_tabinfo") spsTabInfo("colnames", app_path = "SPS_tabinfo") spsTabInfo("tab_id", app_path = "SPS_tabinfo")