This is the R client for the montagu API.

Note that the package name is montagu but this repo is vimc/montagu-r to avoid colliding with the main montagu repository.

Implemented:

Core api

  • /v1/authenticate/ (POST)
  • /v1/diseases/ (GET)
  • /v1/diseases/:id/ (GET)
  • /v1/logout/ (GET)
  • /v1/modelling-groups/ (GET)
  • /v1/modelling-groups/ (POST)
  • /v1/modelling-groups/:group-id/ (GET)
  • /v1/modelling-groups/:group-id/actions/associate-member/ (POST)
  • /v1/modelling-groups/:group-id/expectations/:touchstone-id/:expectation-id/ (GET)
  • /v1/modelling-groups/:group-id/model-run-parameters/:touchstone-id/ (GET)
  • /v1/modelling-groups/:group-id/model-run-parameters/:touchstone-id/ (POST)
  • /v1/modelling-groups/:group-id/model-run-parameters/:touchstone-id/model-run-parameter-set-id/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/coverage/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/coverage/get_onetime_link/
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/coverage_sets/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/ (POST)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/ (POST)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/estimates/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/actions/clear (POST)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/actions/close (POST)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/actions/populate/{token}/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/actions/request-upload/ (GET)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/actions/upload/{token}/ (POST)
  • /v1/modelling-groups/:group-id/responsibilities/:touchstone-id/:scenario-id/estimate-sets/:estimate-set-id/estimates/:outcome-code/ (GET)
  • /v1/models/ (GET)
  • /v1/models/:id/ (GET)
  • /v1/onetime_link/:token/
  • /v1/password/request/link/?email=:email/ (POST)
  • /v1/password/set/ (POST)
  • /v1/set-cookies/ (GET)
  • /v1/touchstones/ (GET)
  • /v1/touchstones/:touchstone-id/demographics/ (GET)
  • /v1/touchstones/:touchstone-id/demographics/:source_code/:demographic-type-code/ (GET)
  • /v1/touchstones/:touchstone-id/demographics/:source_code/:demographic-type-code/csv/ (GET)
  • /v1/touchstones/:touchstone-id/responsibilities/ (GET)
  • /v1/touchstones/:touchstone-id/scenario-id/coverage/ (GET)
  • /v1/touchstones/:touchstone-id/scenarios/ (GET)
  • /v1/touchstones/:touchstone-id/scenarios/:scenario-id/ (GET)
  • /v1/users/ (GET)
  • /v1/users/ (POST)
  • /v1/users/:username/ (GET)
  • /v1/users/:username/actions/associate-role/ (POST)
  • /v1/users/report-headers/:reportname/ (GET)
  • /v1/users/rfp/agree-confidentiality/ (GET)
  • /v1/users/rfp/agree-confidentiality/ (POST)

Installation

drat:::add("vimc")
install.packages("montagu")