Learn R Programming

valdr (version 1.0.1)

Access and Analyse 'VALD' Data via Our External 'APIs'

Description

Provides helper functions and wrappers to simplify authentication, data retrieval, and result processing from the 'VALD' 'APIs'. Designed to streamline integration for analysts and researchers working with 'VALD's external 'APIs'. For further documentation on integrating with 'VALD' 'APIs', see: . For a step-by-step guide to using this package, see: .

Copy Link

Version

Install

install.packages('valdr')

Version

1.0.1

License

MIT + file LICENSE

Maintainer

Kieran Harrison

Last Published

July 24th, 2025

Functions in valdr (1.0.1)

get_forcedecks_result_definitions_only

Get only ForceDecks result definitions
.onLoad

Package load hook for VALD API credentials
.retry_key_get

Internal helper function to retry reading a key from the system keyring. This handles potential intermittent delays after writing to the keyring.
get_profiles_only

Get only VALD profiles
get_start_date

Retrieve the start date from config
get_config

Retrieve stored VALD configuration
get_access_token

Get or refresh VALD access token
authenticate

Authenticate and retrieve a valid access token
get_forcedecks_data

Run full initial data fetch from the VALD ForceDecks API and External Profiles API
get_forcedecks_tests_only

Get only ForceDecks test data
is_token_valid

Check if JWT access token is expired
get_forcedecks_result_definitions

Get ForceDecks result definitions
set_credentials

Set and Save VALD API Credentials
load_credentials

Load Stored VALD API Credentials and Configuration (with retry logic)
get_forcedecks_trials

Get trial results for a set of ForceDecks tests
get_forcedecks_trials_only

Get trials for an existing test data frame
get_forcedecks_tests_trials

Run a standard session to get new ForceDecks tests and trials only
.onAttach

Package attach hook for VALD API credentials
set_start_date

Set and persist the start date
get_profiles

Get VALD profiles
get_forcedecks_tests

Get ForceDecks tests