Skip to content

rdmorganiser/rdmo-plugins-dfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdmo-plugins-dfg

This plugin provides RDMO option set providers for the DFG Classification of Scientific Disciplines (DFG Fachsystematik).

The providers use packaged CSV data and do not query an external API at request time. The DFG discipline rows are loaded lazily once per Python process and are then reused for later option requests.

Setup

Install the plugin in your RDMO virtual environment using pip:

pip install git+https://github.com/rdmorganiser/rdmo-plugins-dfg

Add the rdmo_dfg app to INSTALLED_APPS and the provider to OPTIONSET_PROVIDERS in config/settings/local.py:

INSTALLED_APPS += ['rdmo_dfg']

OPTIONSET_PROVIDERS += [
    ('dfg_disciplines', _('DFG Disciplines'), 'rdmo_dfg.providers.DFGProvider')
]

The default DFGProvider currently uses the 2024-2028 DFG Fachsystematik. Version-specific providers are also available:

OPTIONSET_PROVIDERS += [
    (
        'dfg_disciplines_2020_2024',
        _('DFG Disciplines 2020-2024'),
        'rdmo_dfg.providers.DFGDisciplines2020To2024Provider'
    ),
    (
        'dfg_disciplines_2024_2028',
        _('DFG Disciplines 2024-2028'),
        'rdmo_dfg.providers.DFGDisciplines2024To2028Provider'
    )
]

The option id stores the dotted DFG notation, e.g. 1.11-01 or 4.51-06. The packaged CSV files use compact notations such as 111-01; the provider derives the dotted notation at runtime.

For a minimal example catalog covering the default and version-specific providers, see xml/questions-dfg.xml.

Acknowledgements

This plugin has been developed through the DMP4NFDI project, as an Incubator with Coscine for the RDMO client of the NFDI4ING consortium.

DMP4NFDI is a Basic Service of Base4NFDI, funded by the German Research Foundation (DFG) under project 521453681. NFDI4ING is funded by the DFG under project 442146713. Both projects are part of the German National Research Data Infrastructure (NFDI).

We have re-used the DFG Classification of Subject Areas in table format as provided by the https://github.com/tibonto/DFG-Fachsystematik-Ontology repository and kindly thank the authors.

About

An Optionset Provider for the DFG Classification of Subject Areas

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages