as_fuji_json: Convert a FAIR assessment to F-UJI-compatible JSON.

View source: R/as_fuji_json.R

as_fuji_jsonR Documentation

Convert a FAIR assessment to F-UJI-compatible JSON.

Description

Produces a payload matching the upstream F-UJI FAIRResults schema, so the output can be consumed by tools built for the F-UJI service.

Usage

as_fuji_json(x, pretty = TRUE)

Arguments

x

A fair_assessment object.

pretty

Whether to pretty-print the JSON.

Value

A JSON string (class json).

Examples


a <- assess_fair("https://doi.org/10.5281/zenodo.8347772")
cat(as_fuji_json(a))


rfair documentation built on July 1, 2026, 5:07 p.m.