Skip to content
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

Collected Datasets without a mandatory linkage to study, population and collection event #4421

Open
johannes-darms opened this issue Oct 11, 2023 · 3 comments

Comments

@johannes-darms
Copy link
Contributor

Is your feature request related to a problem? Please describe.
We have Collected Datasets we would like to publish via MICA. However, we do not have the associated information, i.e. Data Collection Event, Population and Study. We would like to add and publish those resource without specifying the Study Table section.

Describe the solution you'd like
Allow users to add Collected Datasets without a mandatory linkage to study, population and collection event.

@kazoompa
Copy link
Member

This will create a dataset that won't be searchable, consider study ID as the primary key for Mica search.

@johannes-darms
Copy link
Contributor Author

So we should rather hide the information to the user?
This would mean we need to update the following templates, right?

  • Make information about Study, Population and Data Collection Event optional (hide if not present) in public UI
    • URL /collected-datasets? only effects Card Display. (/libs/datasets.ftl line 135)
    • URL /dataset/... (/libs/dataset.ftl line 119, 195 and 178 already within conditional block)
    • URL/variable/.. (variables.ftl line 168 and 178 some parts are already optional)
    • URL /search/
      - [ ] Result column (update computation in results.js line 526 or change/add default /libs/document-set-scripts.ftl line 97 )
      - [ ] Filter menu (update the taxonomy via UI (c.f. Cannot update/replace internal taxonomy  #4422)

Sorry, something went wrong.

@kazoompa
Copy link
Member

Just a little clarification: the dependency of a dataset on a study is vital and it cannot be changed without a more serious modification. The purpose of a dataset is to provide data of a study. In addition, in the UI, the study listing page and search page are affected if a dataset does not have a study ID.

You can always create a generic study and associate your dataset to it. You can also add a custom field to the Individual Study schema (Administration / Individual Study Configuration) and use it to filter out the generic study in the pages you do not wish it to be displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants