Description Usage Arguments Value Author(s) Examples
This function allows for clients to login to opal servers and (optionaly) assign all the data or specific variables from Opal datasources to R. The assigned dataframes (one for each opal server) are named 'D'.
1 2 | ag.ds.login(logins = NULL, assign = FALSE,
variables = NULL)
|
logins |
a dataframe that holds login details |
assign |
a boolean which tells whether or not data should from the opal datasource to R after login into the server(s). |
variables |
specific variables to assign. If
|
an object of class opal
Gaye, A.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
# load that contains the login details
data(logindata)
# Example 1: just login (default)
opals <- ag.ds.login(logins=logindata)
# Example 2: login and assign the whole dataset
opals <- ag.ds.login(logins=logindata,assign=TRUE)
# Example 3: login and assign specific variable(s)
myvar <- list("LAB_TSC")
opals <- ag.ds.login(logins=logindata,assign=TRUE,variables=myvar)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.