anvil_import | R Documentation |
Import data tables into AnVIL
anvil_import_table(
table,
table_name,
model = NULL,
overwrite = FALSE,
namespace = avworkspace_namespace(),
name = avworkspace_name()
)
anvil_import_set(
table,
table_name,
overwrite = FALSE,
namespace = avworkspace_namespace(),
name = avworkspace_name()
)
create_set_all(table, table_name)
unnest_set_table(set_table)
anvil_import_tables(
tables,
model = NULL,
overwrite = FALSE,
namespace = avworkspace_namespace(),
name = avworkspace_name(),
timeout = 3600
)
table |
Data table to import (tibble or data.frame) |
table_name |
Name of data table in model |
model |
|
overwrite |
Logical for whether to overwrite data for existing rows |
namespace |
AnVIL workspace namespace |
name |
AnVIL workspace name |
set_table |
set table returned by |
tables |
Named list of tables to import |
timeout |
Number of seconds to wait for import to complete before timing out |
anvil_import_table
imports a data table to an AnVIL workspace.
anvil_import_set
imports a set table to an AnVIL workspace. The
reference table must already exist in the workspace.
anvil_import_tables
imports a named list of tables, calling anvil_import_table
or anvil_import_set
as appropriate. Set tables are assumed to end with "_set".
create_set_all
creates a set table containing all entities in the
reference table.
unnest_set_table
takes a set table returned by avtable
and formats it so it can be imported back into AnVIL with
avtable_import_set
create_set_all
returns a tibble with one set, 'all',
containing all entities in table
.
unnest_set_table
returns a tibble with a set table in
long form
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.