Skip to main content

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)

Uploaded Source

Built Distribution

Colectica_API-0.0.2-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

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

Hashes for Colectica_API-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ce62021ee828531b49f81afd8f8b81c329d31d6122837c1eff759427babbe06e
MD5 90290a3d5b425884eff8369ce4893c8e
BLAKE2b-256 3eee68c5d2ff23a93689f4cf1b846f0c1dfb6d741fcb4e7c6cb1b137dbf8b7d2

See more details on using hashes here.

File details

Details for the file Colectica_API-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Colectica_API-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05b39bd54d19529f403badddd5cc9d262d90a25640555269a1eed604f43ef881
MD5 d3807396be798b6a227e2885e660744b
BLAKE2b-256 911e0b365bacf8073285b8fc27a7defe67711eaed2145cda19a6a63aee2a676a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page