gor_create | R Documentation |
Creates a partial-application of gor_query
in the context of conn
and the listed relations in the ...
arguments
gor_create( ..., defs = NULL, conn = NULL, replace = NULL, query.service = "queryserver" )
... |
ellipse for the relations to include |
defs |
definitions string |
conn |
connection object from |
replace |
replace a previously created |
query.service |
query service to use - either 'queryservice' (old) or 'queryserver' (new). Default: queryservice |
Relations can be either local dataframes (uploaded) or string queries(turned into create statements and prepended to the query when executed).
partial-application of function gor_query
with the conn
and relations
parameters set.
## Not run: query <- gor_create(conn = conn) query <- gor_create(air = airquality, replace = query) query("nor [air] | where Month=8") months_df <- data.frame(id = 1:12, MonthName = month.abb) query <- gor_create(months = months_df, replace = query) query("nor [air] | map -c Month [months]") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.