Hi,
ok, couldn't we do something like
get_data <- function(datasource, variable(s), pattern, option) #where variable(s) are the columns, pattern is the requested pattern, option is like/not like/exact
{
if option == exact:
try: if postgres or sql: select * from table where variable = pattern
catch: do the same with a mongo db query
}
Or isn't is possible to access the database directly? E.g., does it have to be a query that goes over opal, and if it does, how would I do that?
Regards
Larissa
Gesendet: Montag, 16. Januar 2017 um 11:45 Uhr