New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV import: option to indicate that all columns are properties (and values) #101

Closed
carueda opened this Issue Apr 13, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@carueda
Member

carueda commented Apr 13, 2017

So, instead of the given first column determining the unique identifiers for the terms, with this option the identifiers are to be determined from a given prefix (for example, row_) and the row position in the provided CSV contents.

For example, with the following CSV contents (spaces added for legibility):

co2  ,latitude    ,longitude    ,altitude  ,airSpeed
485  ,44.3799982  ,-73.2581033  ,59.28     ,0.119999997318
485  ,44.3799978  ,-73.2581035  ,59.28     ,0.0399999991059
486  ,44.3799953  ,-73.2581065  ,59.25     ,0.0399999991059
500  ,44.3805034  ,-73.258855   ,48.65     ,0.0799999982119

And with identifier prefix: row_

the updated table in the vocabulary editor will be:

co2 latitude longitude altitude airSpeed
row_1 485 44.3799982 -73.2581033 59.28 0.119999997318
row_2 485 44.3799978 -73.2581035 59.28 0.0399999991059
row_3 486 44.3799953 -73.2581065 59.25 0.0399999991059
row_4 500 44.3805034 -73.258855 48.65 0.0799999982119
@carueda

This comment has been minimized.

Show comment
Hide comment
@carueda

carueda Apr 13, 2017

Member

With the Use first column for the unique identifiers? unselected, and with the included example, the dialog looks like this:

image

Once imported, the resulting table in the editor looks like this:

image

Member

carueda commented Apr 13, 2017

With the Use first column for the unique identifiers? unselected, and with the included example, the dialog looks like this:

image

Once imported, the resulting table in the editor looks like this:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment