mdl_create_cache: Creates a Local Cache

View source: R/mdl_create_cache.R

mdl_create_cacheR Documentation

Creates a Local Cache

Description

Create local cache from a Moodle Database.

Usage

mdl_create_cache(
  con = mdl_get_connection(use_cache = FALSE),
  format = c("sqlite"),
  tbl_prefix = "mdl_",
  output_dir = mdl_get_cache_dir(),
  output_filename = mdl_get_cache_filename()
)

Arguments

con

a database connection (to a moodle database)

format

output format (mysql, csv)

tbl_prefix

Moodle DB table prefix

output_dir

where does the cache go

output_filename

filename (in the case of sqlite output), or prefix (in_case of CSV download)

Value

invisible(NULL)


moodleR documentation built on Aug. 15, 2022, 5:09 p.m.