Skip to main content

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. Functionality is given for other headings too.

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 are done. It should just work.

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.yaml file

2- When you are happy with the list, bump the version in invenio_subjects_mesh/version.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio-subjects-mesh-2022.6.21.tar.gz (5.2 MB view hashes)

Uploaded Source

Built Distribution

invenio_subjects_mesh-2022.6.21-py2.py3-none-any.whl (5.3 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page