Skip to main content

Creating a CSV data source

Data sources can be created at the organisation level, meaning that the Data sources you create can be shared among the members of your organisation. To create a data source:
  • Navigate to the Data Sources page. Data source menu item
  • Click on the button, +Create new data source. Create Data source button
  • Choose CSV based from the dropdown and select the CSV file containing your data. Choose the CSV file
  • Provide a name for your data source. Add a name for the data source
  • Click save at the bottom of the page. New data source save button

Editing a CSV data source

Data sources can be updated after creation. To edit a data source:
  • Navigate to the Data Sources page.
  • Click on the data source you wish to edit, from the list provided.
  • Update your data source.
  • Click on the save at the bottom of the page.
New data source save button Once in the data source page, you will be able to:
  • Replace the csv file
  • Rename the data source
  • Change the column types

Columns

Column names

When uploading the CSV file, please ensure the following requirements for the column names:
  • Column names must be unique within the CSV file.
  • Column names must be between 1 and 128 characters in length.
  • Column names can only contain letters, digits, the underscore character and spaces, and must not start with an underscore.
  • Column names cannot be any of the following reserved keywords: all, and, any, array, as, at, between, both, by, call, case, cast, check, coalesce, constraint, convert, corresponding, create, cross, cube, default, distinct, do, drop, else, every, except, exists, fetch, for, foreign, from, full, grant, group, grouping, having, in, inner, intersect, into, is, join, leading, left, like, natural, not, nullif, on, or, order, outer, primary, references, right, rollup, select, set, some, sum, table, then, to, trailing, trigger, union, unique, using, values, when, where, with
Also notice that column names will be lowered case.

Column types

Before saving the data source (or when editing it), you are able to amend the column data types. You will find a
setting icon below the column name and, when clicking on it, you will be able to select the correct type for the column, as shown in the following figure.
Data source column editting The default data type is STRING, however you can pick any of the following types: Example

Date type

For DATE, TIME and DATETIME types, you can specify your own format string using the elements in the following table: