Skip to main content

Creating a New Dataset

TIM Studio offers you to create Dataset from following sources:

  • upload from CSV file,
  • import data from SQL-like database (see list of supported databases below).

Creating Dataset from CSV file

To upload new CSV file:

  1. Navigate to Datasets section in TIM Studio and click on button Add Dataset,
  2. in dialogue window, make sure you are on CSV tab,
  3. drag&drop or select CSV file from your hard drive,
  4. enter name of Dataset, although it is prefilled from name of input file, it is possible to change it,
  5. confirm parameters of CSV file:
  • Column separator,

  • Decimal separator,

  • Format of timestamp (see table below with format directives), at the moment format is not automatically detected,

  • Timestamp column;

    TIM Studio tries to detect pattern of timestamp from your data automatically. However you can double check and correct if necessary. You can open CSV in notepad (or other similar editor) to determine correct values. This parameter has impact on correct data import and also, if your input does not match with reality you will be given warnings preventing you to proceed with data upload.

  1. optionally, select column that contains information about public holidays, it must contain binary values 0 or 1 only; This is important if you'd like to unlock functionality of Public Holidays dictionary for model building.
  2. click on Add Dataset button,
  3. upload process will start in the background, progress of upload is updated as percentage in list of Datasets.

NewDatasetWindow.png

Uploading CSV file

All parameters, except Public Holiday column can be changed later.

You can monitor progress of upload in the list of Datasets as % value being updated.

DatasetsList.png

Uploading in progress

In case issue is detected in your Dataset during the upload (or update) process, you will be given warning via Notifications, when clicked on it further details are provided.

DatasetUpdateNewNotification.png

New notification alert

UpdatingDatasetFailed.png

New notification message

UpdatingDatasetFailedWindow.png

Notification details

Be aware of requirements and constrains of input data.

Timestamp format directives

DirectiveMeaningExample
YYYY4-digits year2000 2001 ... 2099
MMZero-padded month number01 02 ... 12
MMonth number1 2 ... 12
DDZero-padded day of month01 02 ... 31
DDay of month1 2 ... 31
HHZero-padded hours in 24-hour format00 01 02 ... 24
HHours in 24-hour format0 1 2 ... 24
hhZero-padded hours in 12-hour format00 01 02 ... 12
hHours in 12-hour format0 1 2 ... 12
aAM/PM or am/pmam pm AM PM
mmZero-padded minutes00 01 02 ... 59
mMinutes0 1 2 ... 59
ssZero-padded seconds00 01 02 ... 59
sSeconds0 1 2 ... 59
SSSMilliseconds0 1 2 ... 999

For example, code for 2018-12-31 13:21:01 would be YYY-MM-DD HH:mm:ss.

New Dataset can be created also from Wizard when you are creating new Experiment. For more details read how to Create new Experiment.

Creating Dataset from SQL-like database

At the moment following databases are supported:

  • MySQL/MariaDB
  • Microsoft SQL
  • PostgresSQL

To upload data from database:

  1. Navigate to Datasets section in TIM Studio and click on button Add Dataset,
  2. in dialogue window, make sure you are on SQL database tab,
  3. enter name of Dataset, although it is prefilled from name of input file, it is possible to change it,
  4. provide following parameters so TIM Studio can connect correctly to your database:
  • Type of database
  • Host
  • Port
  • Username
  • Password
  • Database
  • Table
  1. click on Connect button,
  2. optionally, select Public Holidays column (must contain only values 0 or 1),
  3. click on Add Dataset button,
  4. upload process will start in the background, progress of upload is updated as percentage in list of Datasets.

DatasetCreatingSQL.png

Creating connection to MySQL Database

All parameters, except Public Holiday column can be changed later.

Your password will be saved in encrypted form. TIM Studio does not know what is your password.