get_forcedecks_data: Run full initial data fetch from the VALD ForceDecks API and...

View source: R/session.R

get_forcedecks_dataR Documentation

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

Description

This function is intended for first-time use or a full refresh of all datasets. It retrieves profiles, result definitions, tests (from a specified start date), and trials.

Usage

get_forcedecks_data(start_date = NULL)

Arguments

start_date

In ISO 8601 UTC format (e.g., "2025-06-25T00:00:00Z") indicating the start of the test retrieval window.

Value

A named list with data frames: profiles, result_definitions, tests, and trials. Each element contains the respective dataset fetched from the ForceDecks API.

Examples

## Not run: 
# Fetch all data (profiles, results, tests, trials)
data <- get_forcedecks_data()
View(data$profiles)

## End(Not run)

valdr documentation built on Aug. 8, 2025, 7:34 p.m.