Logo: Relish

  1. Sign in

Project: Data-curator

Set Table Properties

As a Data Packager
I want to described the table
So that it can be validated and Data Consumers can understand and use it

RULES

  • Table properties are defined in:
  • The 'name':
    • is required and must be unique
    • is defaulted from the file name excluding the file extension, if the file has been opened or saved
    • when available, replaces the Data Tab Name
  • Some properties can be defaulted and do not need to not displayed:
    • 'path'
    • 'profile' must be set to 'tabular-data-resource'
    • 'format' the standard file extension for this type of resource
    • 'mediatype' the mediatype/mimetype of the resource 'text/csv'
    • 'encoding' UTF-8.
    • 'CSV Dialect'
      • 'delimiter' based on the format of the opened/saved file
      • 'header' true
      • 'bytes' calculated from the file size
  • These properties are optional:
    • 'title'
    • 'description'
    • 'sources'
    • 'licenses'
  • The following Table Schema properties apply to the whole Table:
    • 'missingValues'
    • 'primaryKeys'
    • 'foreignKeys'
  • The 'foreign key' relationships can be to columns in:
    • the same table
    • a table in the same data package
    • at table at a url
  • "Table Properties" can be invoked from the menu, toolbar or shortcut

USER INTERFACE

Table properties user interface

Scenarios
  • @impl
Show Correct Side Navigation Panels
Given
Data Curator is open
And
the window has 1 tab
When
"selector" is invoked
Then
the "panel" panel should be displayed
Examples:
selector panel
Table Properties Table Properties
Column Properties Column Properties
Provenance Information Provenance Properties
Data Package Properties Package Properties
Find Replace Find and Replace
Set Table Properties
Given
Data Curator is open
And
the window has 1 tab
When
"Table Properties" is invoked
Then
the "Table Properties" panel should be displayed
And
property values should be accepted and validated
And
the values should be saved as they are entered
And
the 'name' property should be assign to the Data Tab name

Last published over 1 year ago by Matt Mulholland.