Python interface to the Colectica API
Project description
Overview
Colectica Portal can be accessed using the Rest API.
Other examples are available on the Colectica Docs at https://docs.colectica.com/portal/api/examples/ and the API documentation is avaiable at https://discovery.closer.ac.uk/swagger/index.html
File Description
- instrument_to_dict.py - output dictionary of each item for all items in an instrument
- get_mode_collection.py - outputs study, instrument_urn and data collection mome
- instrument_mode_data_collection.csv (questionnaire and mode list)
- get_questions.py - outputs the different item types
- question.csv (question text and link to responses)
- codelist.csv (code list response type_
- response.csv (other response types)
- get_question_groups.py - outputs the concepts and a link to the question items
- RCNIC.py - creates question-concept dataset for input into a question-concept model
- ESRC.py - creates questionnaire and associated items dataset for input into a question extraction model
Dependencies
Non-standard libraries are required for these:
- Pandas
- Requests
To add these: (if using pip)
- pip install pandas
- pip install requests
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
Colectica_API-0.0.2.tar.gz
(17.5 kB
view details)
Built Distribution
File details
Details for the file Colectica_API-0.0.2.tar.gz
.
File metadata
- Download URL: Colectica_API-0.0.2.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce62021ee828531b49f81afd8f8b81c329d31d6122837c1eff759427babbe06e |
|
MD5 | 90290a3d5b425884eff8369ce4893c8e |
|
BLAKE2b-256 | 3eee68c5d2ff23a93689f4cf1b846f0c1dfb6d741fcb4e7c6cb1b137dbf8b7d2 |
File details
Details for the file Colectica_API-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: Colectica_API-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b39bd54d19529f403badddd5cc9d262d90a25640555269a1eed604f43ef881 |
|
MD5 | d3807396be798b6a227e2885e660744b |
|
BLAKE2b-256 | 911e0b365bacf8073285b8fc27a7defe67711eaed2145cda19a6a63aee2a676a |