To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorOpen a Data Package
As a User
I want to open a tabular data package
So that I can view or edit the data, metadata and provenance information in the data package
RULES
- Tabular data packages can be opened from a URL or local path
- A tabular data package can be stored in
.zip
or.json
format - The
datapackage.zip
typically contains:- tabular data resources (e.g. one or more
.csv
files located via a local path or url reference)- JSON Tabular Data is not supported
- a datapackage.json file (that describes the data package and contains a table schema and may contain a CSV dialect for each resource)
- the
schema
anddialect
for each resource may be in-line or referenced via a url
- the
- a
README.md
file (containing the provenance information)
- tabular data resources (e.g. one or more
- The datapackage.json file not in a zip file:
- references the tabular data resources via a url
- describes the tabular data package and contains the
schema
anddialect
for each resource, either inline or referenced via a url - doesn't include or reference and README.md or README.txt
- "Open Data Package" can be invoked from the Menu
LATER
- Open datapackage.json from a local file
- Open a data package that references a Table Schema at a URL
- Open a data package that references a CSV Dialect at a URL
QUESTIONS
- What properties could be lost on opening a valid tabular data package?
- data package:
- homepage
- image
- keywords
- created
- data resource:
- data
- hash
- bytes
- table schema:
- bareNumber
- groupChar
- decimalChar
- trueValues
- falseValues
- pattern properties except
package
in the Table Schema: Foreign Keys to Data Packages pattern
- data package:
- Scenarios
-
- Open a valid datapackage.json from a local file
- Open a valid datapackage.json with properties unsupported by Data Curator from a local file
- Open a invalid datapackage.json from a local file
- Open a valid datapackage.json from a URL
- Open a datapackage.json with properties unsupported by Data Curator from a URL
- Open an invalid datapackage.json from a URL
- Open a valid datapackage.zip from a local file
- Open a datapackage.zip with properties unsupported by Data Curator from a local file
- Open a invalid datapackage.zip from a local file
- Open a valid datapackage.zip from a URL
- Open a datapackage.zip with properties unsupported by Data Curator from a URL
- Open a invalid datapackage.zip from a URL
- Open a valid datapackage.json from a local file
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- a valid datapackage.json file at a local file is selected
- Then
- the properties from datapackage.json should be loaded into the property panels
- And
- each data resource (at a URL or path) should be opened in a new data tab to the right of any other open data tabs
- And
-
each Data tab should be named using the data resource
name
- And
-
each data resource header row should be set using the
dialect
- Open a valid datapackage.json with properties unsupported by Data Curator from a local file
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- a valid datapackage.json file at a local file is selected
- Then
- the properties from datapackage.json should be displayed in the property panels
- And
-
the data at the
path
of each data resource should open in a new data tab to the right of any other open data tabs - And
-
each Data tab should be named using the data resource
name
- And
-
each data resource header row should be set using the
dialect
- And
- a warning should be displayed stating that some unsupported properties were not imported
- Open a invalid datapackage.json from a local file
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- an invalid datapackage.json file at a local file is selected
- Then
- an error message should be displayed
- Open a valid datapackage.json from a URL
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- a valid datapackage.json file at a URL is selected
- Then
- the properties from datapackage.json should be displayed in the property panels
- And
-
the data at the
path
of each data resource should open in a new data tab to the right of any other open data tabs - And
-
each Data tab should be named using the data resource
name
- And
-
each data resource header row should be set using the
dialect
- Open a datapackage.json with properties unsupported by Data Curator from a URL
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- the datapackage.json file at the URL is selected
- Then
- the properties from datapackage.json should be displayed in the property panels
- And
-
the data at the
path
of each data resource should open in a new data tab to the right of any other open data tabs - And
-
each Data tab should be named using the data resource
name
- And
-
each data resource header row should be set using the
dialect
- And
- a warning should be displayed stating that some unsupported properties were not imported
- Open an invalid datapackage.json from a URL
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- an invalid datapackage.json file at a URL is selected
- Then
- an error message should be displayed
- Open a valid datapackage.zip from a local file
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- a valid datapackage.zip file at a local file is selected
- Then
- the properties from datapackage.json should be loaded into the property panels
- And
- each data resource (at a URL or path) should be opened in a new data tab to the right of any other open data tabs
- And
-
each Data tab should be named using the data resource
name
- And
-
each data resource header row should be set using the
dialect
- And
- the README.md should be displayed in the provenance information panel
- Open a datapackage.zip with properties unsupported by Data Curator from a local file
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- a valid datapackage.zip file at a local file is selected
- Then
- the properties from datapackage.json should be displayed in the property panels
- And
-
the data at the
path
of each data resource should open in a new data tab to the right of any other open data tabs - And
-
each Data tab should be named using the data resource
name
- And
-
each data resource header row should be set using the
dialect
- And
- the README.md should be displayed in the provenance information panel
- And
- a warning should be displayed stating that some unsupported properties were not imported
- Open a invalid datapackage.zip from a local file
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- an invalid datapackage.zip file at a local file is selected
- Then
- an error message should be displayed
- Open a valid datapackage.zip from a URL
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- the datapackage.zip file at a URL is selected
- Then
- the properties from datapackage.json file should be displayed in the property panels
- And
-
the data at the
path
of each data resource should open in a new data tab to the right of any other open data tabs - And
-
each Data tab should be named using the data resource
name
- And
-
each data resource header row should be set using the
dialect
- And
- the README.md should be displayed in the provenance information panel
- Open a datapackage.zip with properties unsupported by Data Curator from a URL
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- the datapackage.zip file at a URL is specified
- Then
- the properties from datapackage.json should be displayed in the property panels
- And
-
the data at the
path
of each data resource should open in a new data tab to the right of any other open data tabs - And
-
each Data tab should be named using the data resource
name
- And
-
each data resource header row should be set using the
dialect
- And
- the README.md should be displayed in the provenance information panel
- And
- a warning should be displayed stating that some unsupported properties were not imported
- Open a invalid datapackage.zip from a URL
-
- Given
- Data Curator is open
- When
- "Open Data Package" is invoked
- And
- an invalid datapackage.zip file at a URL is selected
- Then
- an error message should be displayed
Last published almost 2 years ago by Matt Mulholland.