Workflow
class Workflow
Constructors
Method
Description
Examples
library("redivis")
workflow <- redivis$user("imathews")$workflow("example_workflow_climate_analysis")
tables <- workflow$list_tables()
for (table in tables){
# Properties will be populated with the table.list resource representation
print(table$properties)
table$get()
# Properties will now be populated with the table.get resource representation
print(table$properties)
}
workflow$table("join_lat_lon_output")$exists() # -> TRUElibrary("redivis")
workflow <- redivis$user("imathews")$workflow("example_workflow_climate_analysis")
query = workflow$query("
SELECT
id,
EXTRACT(YEAR FROM date) AS year,
SUM(value) AS annual_precip
FROM daily_observations
WHERE (element = 'PRCP')
GROUP BY id, year
")
query$to_tibble()
# id year annual_precip
# 0 CA0023026HN 2003 2925.0
# ...Fields
Methods
Was this helpful?

