passive-radio / retrieve-orcid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

retrieve-orcid

Retrieve academic data stored in ORCID using the ORCID public API

Requirements

  • Python 3.6 or later

Installation

pip install git+https://github.com/passive-radio/retrieve-orcid.git

How to use

CLI and Python script are available to retrieve researcher's works from ORCID.

CLI

Run the following command in your terminal. Replace {researcher_id} with the ORCID ID of the researcher you want to retrieve works from and {path/to/output_file} with the path to the file where you want to save the retrieved data. This command will retrieve the works of the researcher and save the data to a file.

python -m retrieve_orcid.get_works -r {researcher_id} -o {path/to/output_file}

Your python script

from retrieve_orcid.get_works import collect_works, out

# Retrieve ORCID data
works = collect_works('0123-4567-8901-2345')

# Save retrieved works to a file
out(works, 'works.csv')

LICENSE

MIT

About

License:MIT License


Languages

Language:Python 100.0%