Skip to main content
Version: Next

Data Sources

A data source represents the location from which a specific type of data can be ingested into the system. Each Event Type can have a number of data sources that define how data of that type can be sourced. These are listed below the Event Type itself.

Data Sources

Adding a Data Source

To add a Data Source, edit the Event Type and click the Add link at the bottom of the data source list.

The following fields are generic for all Data Sources.

FieldDescription
CodeThis code is used by LinXmart to identify the dataset
NameTextual description of the data collection being registered.
Import FormatThis is the format of the file that will be linked for this event type. It includes information about the overall layout of the file (i.e. how the fields on each line of the file are separated), the names of the fields, and which of the fields will be used for linkage. A previously created Import Format can be chosen from the drop-down list, or a new Import Format can be created by clicking Add.
TypeThe type of data source, whether a delimited file or a SQL table or other. Changing this drop down will toggle additional fields that are specific to the type of data source. These are described below.

Delimited file data source

Delimited file data sources are used to upload LinXmart Envelopes or individual text files directly to Linkage Projects for linkage.

Add Data Source

The following fields are required for delimited file data sources.

FieldDescription
Column SeparatorCommon characters are comma (,) and tab (\t).
Is First Line HeaderA header is a line found at the top of a data file that contains a field name for each of the columns in the file. If this is marked as 'No' then the first line of the file will be treated as data.
info

The use of delimiting characters inside fields (e.g. a comma inside an address field) are supported if the field is surrounded in double quotes.

Microsoft SQL table data source

If you have data stored in SQL Server, you can pull data directly from the table (or a view) using a Microsoft SQL table data source.

Add Data Source

The following fields are required for delimited file data sources.

FieldDescription
Connection StringThe full connection string required to connect to the database. For assistance, please refer to this guide.
TableThe name of the table or view from which to query the data. This can be qualified using the schema if required. The Test button can be used to verify the connection string and table values are correct.

Data Client data source

Data can be ingested through a LinXmart Data Client, which is deployed to another location and acts as an agent to proxy local data to LinXmart via a secure connection.

Add Data Source

The following fields are required for Data Client data sources.

FieldDescription
Data Client DatasetSelect a specific dataset from a Data Client using this drop down list.
tip

Ensure the Import Format specified here is appropriate for the columns that are available for the selected Dataset.

Editing a Data Source

A data source can be edited by first selecting a data source to view from the Data Sources listed under an Event Type, and then clicking the Edit button on the View Data Source for Event Type page.

All fields are editable for the data source, including the Code. This can be referenced by clients of the API, so keep this in mind if you choose to do so.

Deleting a Data Source

A data source can be deleted from the system by an authorised operator. Unlike Data Providers and Event Types, this does not trigger the deletion of any records.