OpasnetUtils/Fetch: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (moved Fetch to OpasnetUtils/Fetch) |
(No difference)
|
mNo edit summary |
m (moved Fetch to OpasnetUtils/Fetch) |
(No difference)
|
[show] |
---|
Moderator:Nobody (see all) Click here to sign up. |
This page is a stub. You may improve it into a full page. |
Upload data
|
fetch downloads a variable.
# FETCH ##################### fetch downloads a variable. fetch <- function(x, direction = "wide") { # Could think of a version where dependencies table is given as a parameter, and based on Name, Identifier is downloaded from the Base. x <- as.character(x) if(exists(x)) { out <- get(x) } else { out <- tidy(op_baseGetData("opasnet_base", x), direction = "wide") } return(out) } |