Kahi plugin to insert and update works from minciencias opendata
Project description
Kahi minciencias opendata plugin
Kahi will use this plugin to insert or update the works information from the minciencias opendata database.
Description
Plugin that reads the information from minciencias opendata database to insert or update the information of the of academic products in colav's database.
Installation
You could download the repository from github. Go into the folder where the setup.py is located and run
pip3 install .
From the package you can install by running
pip3 install kahi_minciencias_opendata_works
Similarity support
This plugin only process works without doi. Then a elastic search server must be running. The plugin will use the server to find the most similar works in the database. To deply it please read https://github.com/colav/Chia/tree/main/elasticsaerch and follow the instructions.
Docker and docker-compose are required to deploy the server.
Usage
To use this plugin you must have kahi installed in your system and construct a yaml file such as
config:
database_url: localhost:27017
database_name: kahi
log_database: kahi
log_collection: log
workflow:
minciencias_opendata_works:
es_index: kahi_es
es_url: http://localhost:9200
es_user: elastic
es_password: colav
database_url: localhost:27017
database_name: yuku
collection_name: gruplac_production_data
insert_all: False
thresholds: [65, 90, 95]
num_jobs: 6
verbose: 1
- WARNING *. This process can take more than an hour.
Note: -In case you want to insert all documents that fail to be associated through the similarity processes as new documents, you need to change the value of the insert_all flag to True in the workflow -The thresholds parameter only accepts a list of three corresponding values for: A threshold for author names, a low threshold for works and a high threshold for works.
License
BSD-3-Clause License
Links
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
File details
Details for the file kahi_minciencias_opendata_works-0.1.0b0.tar.gz
.
File metadata
- Download URL: kahi_minciencias_opendata_works-0.1.0b0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e6bcdbe559d1da5f5ef39e2481da5f3602acedd030bc473beb9a8b9799c1218 |
|
MD5 | 3306b16d7550cf74990e84947f341b76 |
|
BLAKE2b-256 | 08030d5383f6343d24b5bf4c7375c1bcb5d6939b10a5323372f2c43d5e576f71 |
File details
Details for the file Kahi_minciencias_opendata_works-0.1.0b0-py3-none-any.whl
.
File metadata
- Download URL: Kahi_minciencias_opendata_works-0.1.0b0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa0cfef9de4bb853f5cb53cc658f939dade3da6240e87206224b94007b198ed2 |
|
MD5 | b796a1b65f626d4ed7dcfa25e80d9535 |
|
BLAKE2b-256 | c7b4e9935270830f9ae74cbc32da29f271847ad90aaecc8ef32bc321c2c41c3b |