add_directory_to_cache: Add 'scb_list' call to cache

Description Usage Arguments Details Value

Description

This function makes up the main body of scb_create_cache. It works by recursively calling scb_list, each time adding the directory list and any table metadata as appropriate.

Usage

1
add_directory_to_cache(cache, lang, database_id, id, depth, call_tracker)

Arguments

cache

Current cache

lang

Language: from scb_create_cache

database_id

Database to search: from scb_create_cache

id

Path for querying with scb_list

depth

Current depth: 1 = top level directory

call_tracker

Current call_tracker instance

Details

For more information, see scb_create_cache.

Value

data.frame showing ID, depth, type, and name of each directory, subdirectory, and table, with tables also including information on variables contained


olhmr/rscb documentation built on May 15, 2019, 10:40 p.m.