Datasource

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

In Sympathy for Data, the action of pointing out where data is located and actual importation 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 importation 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, 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.FileDatasource[source]

Create Datasource with path to a data source.

Outputs:
Datasource
: DataSource

Datasource with path to a data source.

Configuration:

Select location of data, file or database.

  • File
    Use relative path

    Turn on/off relative path towards the location where the corresponding workflow is stored in the dictionary tree.

    Filename

    Specify filename, togther with path, of data source or select by using the button with the three buttons.

  • Database
    Database driver

    Select database driver.

    Server name

    Specify name of server.

    Database name

    Specify name of database.

    User

    Specify name of user.

    Password

    Enter password for specified user.

    Connection string

    Enter a connection string.

Opposite nodes:
Ref. nodes:

Datasources