dj_fetch_from_log: Get datajoint table

View source: R/dj_fetch_from_log.R

dj_fetch_from_logR Documentation

Get datajoint table

Description

Fetches data from a datajoint table, using restrictions from a log (a data frame)

Usage

dj_fetch_from_log(sch, tbl, log, callback = NULL, add_vars = list(), ...)

Arguments

sch

the names of the schema used to fetch; string

tbl

the table to fetch; string

log

a data frame with column names as key and rows as value for restrictions

callback

a callback function to process data returned from the query

add_vars

a list of addititional variables to add to the data, optional

...

additional arguments passed to callback

Value

Returns a list. if callback is specified, contents of the list are in the form of the callback's return. otherwise, returns a list of lists.


gkane26/djreadr documentation built on April 3, 2022, 8:57 a.m.