| mdb_array | R Documentation |
mdb-array(1) emits C source; this wrapper returns a named R list of columns
while keeping equivalent database/table inputs.
mdb_array(path, table, columns = NULL, n = -1L)
path |
Path to |
table |
Table name. |
columns |
Optional character vector of columns. |
n |
Optional row limit ( |
Named list, one entry per selected column.
db <- mdbr:::.mdb_example_nwind_path()
if (nzchar(db)) {
arr <- mdb_array(db, "Products", columns = c("ProductID", "ProductName"), n = 2)
str(arr)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.