operations
assemble.tables
¶
Documentation | Assemble a 'tables' value from multiple tables. Depending on the module configuration, 2 or more tables can be merged into a single 'tables' value. |
|||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||
Outputs |
|
create.database.from.file
¶
Documentation | Create a database from a file. Currently, only csv files are supported. |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
create.database.from.file_bundle
¶
Documentation | Create a database from a file_bundle value. Currently, only csv files are supported, files in the source file_bundle that have different extensions will be ignored. Unless 'merge_into_single_table' is set to 'True' in the module configuration, each csv file will create one table in the resulting database. If this option is set, only a single table with all the values of all csv files will be created. For this to work, all csv files should follow the same schema. |
||||||||||
Inputs |
|
||||||||||
Outputs |
|
create.database.from.table
¶
Documentation | Create a database value from a table. |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
create.database.from.tables
¶
Documentation | Create a database value from a list of tables. |
||||||||||
Inputs |
|
||||||||||
Outputs |
|
create.table.from.file
¶
Documentation | Create a table from a file, trying to auto-determine the format of said file. |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
create.table.from.file_bundle
¶
Documentation | Create a table value from a text file_bundle. The resulting table will have (at a minimum) the following columns:
|
||||||||||
Inputs |
|
||||||||||
Outputs |
|
create.tables.from.file_bundle
¶
Documentation | Create a database from a file_bundle value. Currently, only csv files are supported, files in the source file_bundle that have different extensions will be ignored. Unless 'merge_into_single_table' is set to 'True' in the module configuration, each csv file will create one table in the resulting database. If this option is set, only a single table with all the values of all csv files will be created. For this to work, all csv files should follow the same schema. |
||||||||||
Inputs |
|
||||||||||
Outputs |
|
deserialize.array.as.python_object
¶
Documentation | -- n/a -- |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
deserialize.database.as.python_object
¶
Documentation | -- n/a -- |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
deserialize.table.as.python_object
¶
Documentation | -- n/a -- |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
deserialize.tables.as.python_object
¶
Documentation | -- n/a -- |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
export.database.as.csv_files
¶
Documentation | Export network data as 2 csv files (one for edges, one for nodes. |
|||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||
Outputs |
|
export.database.as.sql_dump
¶
Documentation | Export network data as a sql dump file. |
|||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||
Outputs |
|
export.database.as.sqlite_db
¶
Documentation | Export network data as a sqlite database file. |
|||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||
Outputs |
|
export.table.as.csv_file
¶
Documentation | Export a table as csv file. |
|||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||
Outputs |
|
export.tables.as.csv_files
¶
Documentation | Export network data as 2 csv files (one for edges, one for nodes. |
|||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||
Outputs |
|
export.tables.as.sql_dump
¶
Documentation | Export network data as a sql dump file. |
|||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||
Outputs |
|
export.tables.as.sqlite_db
¶
Documentation | Export network data as a sqlite database file. |
|||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||
Outputs |
|
extract.date_array.from.table
¶
Documentation | Extract a date array from a table column. |
|||||||||||||||||||||||||||||||||||
Inputs |
|
|||||||||||||||||||||||||||||||||||
Outputs |
|
import.database.from.local_file_path
¶
Documentation | Import a database from a csv file. |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
import.table.from.local_file_path
¶
Documentation | Import a table from a file on the local filesystem. |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
import.table.from.local_folder_path
¶
Documentation | Import a table from a local folder containing text files. |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
parse.date_array
¶
Documentation | Create an array of date objects from an array of strings. This module is very simplistic at the moment, more functionality and options will be added in the future. At its core, this module uses the standard parser from the dateutil package to parse strings into dates. As this parser can't handle complex strings, the input strings can be pre-processed in the following ways:
By default, if an input string can't be parsed this module will raise an exception. This can be prevented by setting this modules 'force_non_null' config option or input to 'False', in which case un-parsable strings will appear as 'NULL' value in the resulting array. |
||||||||||||||||||||||||||||||
Inputs |
|
||||||||||||||||||||||||||||||
Outputs |
|
query.database
¶
Documentation | Execute a sql query against a (sqlite) database. |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
query.table
¶
Documentation | Execute a sql query against an (Arrow) table. The default relation name for the sql query is 'data', but can be modified by the 'relation_name' config option/input. If the 'query' module config option is not set, users can provide their own query, otherwise the pre-set one will be used. |
||||||||||||||||||||
Inputs |
|
||||||||||||||||||||
Outputs |
|
render.database.as.string
¶
Documentation | -- n/a -- |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
render.database.as.terminal_renderable
¶
Documentation | -- n/a -- |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
render.table.as.string
¶
Documentation | -- n/a -- |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
render.table.as.terminal_renderable
¶
Documentation | -- n/a -- |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
table.pick.column
¶
Documentation | Pick one column from a table, returning an array. |
|||||||||||||||
Inputs |
|
|||||||||||||||
Outputs |
|
table_filter.drop_columns
¶
Documentation | -- n/a -- |
||||||||||||||||||||
Inputs |
|
||||||||||||||||||||
Outputs |
|
table_filter.select_columns
¶
Documentation | -- n/a -- |
||||||||||||||||||||
Inputs |
|
||||||||||||||||||||
Outputs |
|
table_filter.select_rows
¶
Documentation | -- n/a -- |
||||||||||||||||||||
Inputs |
|
||||||||||||||||||||
Outputs |
|