Home

Awesome

R API client for F-UJI

F-UJI is a Service for Evaluating Research Data Objects Based on <a href ='https://doi.org/10.5281/zenodo.3775793'>FAIRsFAIR Metrics</a>. <p> This work was supported by the <a href='https://www.fairsfair.eu/'>FAIRsFAIR</a> project (H2020-INFRAEOSC-2018-2020 Grant Agreement 831558).

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI spec from a remote server, you can easily generate an API client.

Installation

Prerequisites

Install the dependencies

install.packages("jsonlite")
install.packages("httr")
install.packages("base64enc")

Build the package

git clone https://github.com/NFDI4Chem/rfuji
cd rfuji
R CMD build .
R CMD check rfuji_1.0.0.tar.gz --no-manual
R CMD INSTALL rfuji_1.0.0.tar.gz

Install the package

install.packages("rfuji")

To install directly from Github, use devtools:

install.packages("devtools")
library(devtools)
install_github("GIT_USER_ID/GIT_REPO_ID")

Usage

library(rfuji)

Documentation for API Endpoints

All URIs are relative to http://localhost:1071/fuji/api/v1 or the public https://seprojects.marum.de/fuji/api/v1/openapi.json

ClassMethodHTTP requestDescription
FAIRMetricApiGetMetricsGET /metricsReturn all metrics and their definitions
FAIRObjectApiAssessByIdPOST /evaluate

Documentation for Models

Documentation for Authorization

basicAuth

Author(s)

sneumann@ipb-halle.de rhuber@uni-bremen.de anusuriya.devaraju@googlemail.com