arthur-shaw / susoapi

R interface for Survey Solutions' APIs
https://arthur-shaw.github.io/susoapi/
Other
9 stars 5 forks source link

Add functions to fetch questionnaire content and its attributes 📋 #35

Open arthur-shaw opened 1 year ago

arthur-shaw commented 1 year ago

Ideas

Get question details

Get questionnaire details

Documentation

Execute custom queries

This would require the end user to compose a valid GraphQL query and provide it as a character string to the query client. The user would then be responsible for processing the result.

Background

There are two GraphQL "interfaces" for gettting this type of information:

1. questionnaires(...): Entity

Image

Image

2. questionnaireItem(...) [QuestionnaireItem]

Image

Image

There is overlap between the two interfaces. Need to explore whether one is better than the other or the two offer different interfaces for different entities.