Package: invenio-subjects-cessda
invenio-subjects-cessdaOverviewCESSDAstands for Consortium of European Social Science Data Archives and ERIC stands for European Research Infrastructure Consortium.CESSDA provides large-scale, integrated and sustainable data services to the social sciences. It brings together social science data archives across Europe, with the aim of promoting the results of social science research and supporting national and international research and cooperation.invenio-subjects-cessdais a Python package designed to integrate the CESSDA Vocabulary withInvenioRDMInstallationPrerequisitesActive virtual environment of your InvenioRDM instance.
From your instance active venv:Steps1- Install the package:pipinstallinvenio-subjects-cessda2- Run the following commands in your InvenioRDM instance:invenio rdm-records fixturesinvenio-cli runVersioningThis project adheres toSemVer versioning:Usage GuideFor Instance AdministratorsAfter installation:
1- Refer toInvenio subjects documentation2- Run the following commands:pipinstallinvenio-subjects-cessda
inveniordm-recordsfixtures
invenio-clirunYour instance is now ready to use the CESSDA vocabulary.For Package MaintainersSetting Up Development Environment
After cloning the repository:# Run make install to install dependencies.makeinstall# Use make test to run tests.maketestDebuggingModifyMakefileto set the DEBUGGER environment variable to False for less detailed logging.Updating CESSDA VersionsLast updated:2024-02-01Check the version date in this README. To fetch the latest CESSDA versions, run:makeruninconfig.pyyou have the ability to modify the preferred language and specify the directory for saving vocabularies.
The endpointfullListOfpublishedVocabVersionsincludes a full list of all published vocabulary versions enabling you to compare them with the versions that have been installed.The following vocabulary versions are included in this release. Remember to update this list during your next upgrade.https://vocabularies.cessda.eu/v2/codes/CdcPublisherNames/6.0.0/enhttps://vocabularies.cessda.eu/v2/codes/CessdaPersistentIdentifierTypes/1.0.0/enhttps://vocabularies.cessda.eu/v2/codes/CountryNamesAndCodes/1.0.0/enhttps://vocabularies.cessda.eu/v2/codes/TopicClassification/4.2.2/enhttps://vocabularies.cessda.eu/v2/codes/AggregationMethod/1.1.2/enhttps://vocabularies.cessda.eu/v2/codes/AnalysisUnit/2.1.3/enhttps://vocabularies.cessda.eu/v2/codes/CharacterSet/1.0.0/enhttps://vocabularies.cessda.eu/v2/codes/CommonalityType/1.0.2/enhttps://vocabularies.cessda.eu/v2/codes/ContributorRole/1.0.2/enhttps://vocabularies.cessda.eu/v2/codes/DataSourceType/1.0.2/enhttps://vocabularies.cessda.eu/v2/codes/DataType/1.1.2/enhttps://vocabularies.cessda.eu/v2/codes/DateType/1.1.2/enhttps://vocabularies.cessda.eu/v2/codes/GeneralDataFormat/2.0.3/enhttps://vocabularies.cessda.eu/v2/codes/LanguageProficiency/1.0.2/enhttps://vocabularies.cessda.eu/v2/codes/LifecycleEventType/1.0.2/enhttps://vocabularies.cessda.eu/v2/codes/ModeOfCollection/4.0.3/enhttps://vocabularies.cessda.eu/v2/codes/NumericType/1.1.0/enhttps://vocabularies.cessda.eu/v2/codes/ResponseUnit/1.0.2/enhttps://vocabularies.cessda.eu/v2/codes/SamplingProcedure/1.1.4/enhttps://vocabularies.cessda.eu/v2/codes/SoftwarePackage/1.0.0/enhttps://vocabularies.cessda.eu/v2/codes/SummaryStatisticType/2.1.2/enhttps://vocabularies.cessda.eu/v2/codes/TimeMethod/1.2.3/enhttps://vocabularies.cessda.eu/v2/codes/TimeZone/1.0.0/enhttps://vocabularies.cessda.eu/v2/codes/TypeOfAddress/1.1.0/enhttps://vocabularies.cessda.eu/v2/codes/TypeOfConceptGroup/1.0.2/enhttps://vocabularies.cessda.eu/v2/codes/TypeOfFrequency/1.0.0/enhttps://vocabularies.cessda.eu/v2/codes/TypeOfInstrument/1.1.2/enhttps://vocabularies.cessda.eu/v2/codes/TypeOfNote/1.1.0/enhttps://vocabularies.cessda.eu/v2/codes/TypeOfTelephone/1.0.0/enhttps://vocabularies.cessda.eu/v2/codes/TypeOfTranslationMethod/1.0.0/enhttps://vocabularies.cessda.eu/v2/codes/Variables-Relations/1.0.0/enUpload to pypiPublishing will be done automatically by GitHub actions when a new tag is created.gittagvX.Y.Z
gitpushoriginmastervX.Y.Zmanually upload to pypimakeinstall-package-tools# this will install twine (install-package-tools-pipenv if you use pipenv)makepackage# this will zip the package into dist dirmakepackage-check# verify if the package pass twine checksexportTWINE_USERNAME=__token__exportTWINE_PASSWORD=pypi-<YOUR_TOKEN>
twineuploaddist/*ChangesVersion 1.1.2Add github actions for publishing to pypiAdd github actions for testingadd test badge to readmeRemove requirements.txtVersion 1.1.0update readmefix version numberVersion 1.1.0Introduce Auto fetch new versions for all vocabulariesBump update dependencies to their latest versionsIntroduce debugging option to 'make run' commandRefactor convert functionality and add sortingUpdate CESSDA vocabularies to 2024-02-01Add error handling to data fetchingBump requirements.txtVersion 1.0.0Initial public release 2022.11.03