WiGiTS file parsing and manipulation.
Super class
nemo::Workflow -> Wigits
Methods
Method get_metadata()
Get metadata. Overwrites parent class to handle tidywigits not being a dependency of nemo (see tidywigits issue 167)
Usage
Wigits$get_metadata(
input_id,
output_id,
output_dir,
pkgs = c("nemo", "tidywigits")
)Examples
if (FALSE) { # \dontrun{
path <- here::here("nogit/oa_v2")
w <- Wigits$new(path)
x <-
w$nemofy(
diro = "nogit/test_data",
format = "parquet",
input_id = "run1"
)
dbconn <- DBI::dbConnect(
drv = RPostgres::Postgres(),
dbname = "nemo",
user = "orcabus"
)
x <-
w$nemofy(
format = "db",
input_id = "runABC456",
dbconn = dbconn
)
DBI::dbDisconnect(dbconn)
} # }
