Skip to contents

Functions

Shiny

Functions for developing Shiny web applications.

ui_wrapper()
Wrapper UI for Shiny apps
server_wrapper()
Wrapper server function for Shiny apps
token_ready()
Is a CSIAPPS access token available yet?
global_wrapper()
Wrap Global code for Shiny apps
check_secrets()
Function to check that required environment variables for APPS authentication are set and valid
set_institute()
Set the target institute for API calls

REST API

Functions for interfacing with the CSIAPPS REST API.

make_request()
Make an authenticated API request to CSIAPPS
fetch_org_options()
Fetch organisation options from the CSIAPPS registration API
fetch_profiles()
Fetch profiles from the CSIAPPS registration API
fetch_profile()
Fetch a single profile from the CSIAPPS registration API

Sandbox

Functions for simulating warehouse workflows in a local sandbox.

csiapps-sandbox
Sandbox mode for local development
is_sandbox_mode()
Check whether sandbox mode is enabled globally
register_sandbox_schema()
Register a JSON schema in the local sandbox
create_sport_org()
Create a dummy sport organization in the sandbox
create_profile()
Create dummy athlete profiles in the sandbox
clear_sandbox()
Clear the local sandbox
browse_sandbox()
Open the sandbox payload directory in the system file explorer