usc-isi-i2 / datamart-upload

REST api and upload functions for datamart project
MIT License
1 stars 0 forks source link

dataset_id is ambiguous #30

Open dgarijo opened 4 years ago

dgarijo commented 4 years ago

At the moment dataset_id is used for 2 things: Identify the id of a dataset: dataset -dataset_id->id

Identify the dataset which a variable belongs to: variable-dataset_id->id

This is ambiguous, because the same property is used to link something to a dataset id, and the meaning is different. In the first case, we are describing that a dataset has an id; in the second one we are saying that a variable belongs to a dataset.

We had agreed we would use P2006020004 (dataset) instead in the second case. But I see it's not been done in the code.