File Datasources


Create Datasources with paths to data sources.

Ref. nodes:Datasource
Output ports:


Datasources with paths files

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.

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]