File Datasources

../../../../_images/datasource.svg

Select data sources.

Documentation

Create Datasources with paths to data sources.

Definition

Input ports

Output ports

port1

[datasource]

Datasources with paths files

Configuration:
Recursive (recursive)

If unchecked, only the selected directory will be searched. If checked, all subdirectories of the selected directory will also be searched.

Directory (directory)

Directory where to search for files.

Search pattern (search_pattern)

A wildcard pattern which the filenames must match.

Include (include_types)

Choose whether matching files, directories or both should be included in the result

In Sympathy for Data, the action of pointing out where data is located and actual import of data are separated into two different categories of nodes. The internal data type Datasource is used to carry the information about the location of the data to the import nodes.

There exist two nodes for establishing paths to locations with data, either you are interested in a single source of data, Datasource, or several sources, File Datasources. The single source can either be a data file or a location in a data base. While for multiple sources only several data files are handled.

class node_file_datasource.FileDatasourceMultiple[source]

Related nodes

Example flows