MeSH subject terms for InvenioRDM
Project description
invenio-subjects-mesh
MeSH subject terms for InvenioRDM
Install this extension to get Medical Subject Headings topics into your instance.
Installation
From your instance directory:
pipenv install invenio-subjects-mesh
This will add it to your Pipfile.
Versions
This repository follows calendar versioning:
2021.06.18
is both a valid semantic version and an indicator of the year-month corresponding to the loaded MeSH terms.
Usage
There are 2 types of users for this package. Maintainers of the package and instance administrators.
Instance administrators
For instance administrators, after you have installed the extension as per the steps above, you will want to reload your instance's fixtures: pipenv run invenio rdm-records fixtures
. Updating existing terms currently requires manual replacement.
Maintainers
When a new list of MeSH term comes out, this package should be updated. Here we show how.
0- Make sure you have cloned this package and installed it locally with the all
extra:
pipenv run pip install -e .[all]
1- Update:
pipenv run invenio-subjects-mesh
This will
1- Download the new list (TODO - For now download it manually and place it in invenio_subjects_mesh/download/data/
)
2- Read it filtering for topics
3- Convert terms to InvenioRDM subjects format
4- Write those to invenio_subjects_mesh/vocabularies/subjects_mesh.jsonl
file
2- When you are happy with the list, bump the version in invenio_subjects_mesh/__init__.py
and release it.
Note
There are some amenities in the code to filter/interact with MeSH terms a little if one is so inclined.
Future Ideas
- InvenioRDM doesn't have a way to update pre-existing subjects yet. Once there is one, this package should provide the functionality to update MeSH terms.
Changes
Version 2021.6.30 (released 2021-06-30)
- Initial public release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for invenio-subjects-mesh-2023.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e152b9f4edde19214ea1ed824121f6df331cdac08b289ae33b4a048c2833b78 |
|
MD5 | e898a801d3a49350ef0c918ff5de4848 |
|
BLAKE2b-256 | ce9309545b56153570d91a1ab64a2e4939ba2297359c1dbcce3485da7df58619 |
Hashes for invenio_subjects_mesh-2023.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d98ad2c748c9f795dbec5fcd3a33a064ae440097431f3326fae017e10445cf9 |
|
MD5 | cda2d4d1914ae4bc8d97bec5a2cf58b7 |
|
BLAKE2b-256 | 67d4650b262fcfe1f230c66036047cbc7eac6a2587bf10e64c3d135839f28c87 |