usc-isi-i2 / datamart-api

MIT License
1 stars 2 forks source link

Qualifiers not created when creating a variable #142

Open zmbq opened 3 years ago

zmbq commented 3 years ago

POSTing to /metadata/datasets/,,,/variables with the following body creates a variable with no qualifiers:

{
    "name": "Test Qualifier 1",
    "variable_id": "qualifier1",
    "correspondsToProperty": "https://datamart.isi.edu/wiki/Property:P110026",
    "description": "A variable with a qualifier",
    "start_time": "1993",
    "end_time": "2016",
    "has_qualifier": "qualifier1"
} 
saggu commented 3 years ago

Qualifiers were introduced later and they often are picked from the spreadsheet itself. So Qualifiers are added at the time of data ingestion and not variable creation. This is the workflow right now.