Minor problems with warehouse enrol endpoints [RMI24H]

Issue #1153 resolved
Brian Lewis repo owner created an issue

Although the underlying views contain Rep, Trin, Trout etc these are not exposed by the endpoints based on these views. Only Enrol is currently included - these other fields are not accessible through the warehouse REST interface.

School data does not consolidate if classlevel or age not nominated for grouping.

Filter school data by district?

Comments (5)

  1. Brian Lewis reporter

    @ghachey

    any thoughts on what these endpoints should look like?

    At the moment

    enrol/school enrol/district etc all return enrol and rep

    disab current responds only to disability/school - ie no other aggregations

    Options :

    1. we always return Enrol
      , Rep
      , TrIn
      , TrOut
      , Boarders
          , Dropout  
          , Expelled  
          , PSA  
          , Completed
      

    from enrol/ endpoints.

    PRO : easy!

    CON May make the transferred data bigger, but mostly these values are null

    1. we create new endpoints psa/ trin/ trout/ etc parallel to enrol/

    PRO: smaller datasets

    CON: lot more work, maybe result is less useful if it does not contain enrol, rep ??

    only one such field available at a time

    1. use the query string: ?all option includes everything (psa trin trout etc)
      ?include=PSA,TRIN, TOUT ie comma separated list of what to include
      ?psa&trin&trout …. explicit query string parameters to add additional column (we still continue to return enrol and rep)

    I think I like 3 ??

  2. Log in to comment