Skip to contents

This function downloads the JSON schemas for the various Cheminformatic API endpoints (hazard, safety, etc.) from production. The schemas are saved in the 'schema' directory of the project.

Usage

chemi_schema(record = FALSE, timeout = 30)

Arguments

record

Logical. If TRUE, returns a tibble logging all download attempts.

timeout

Maximum time (in seconds) to wait for each download. Default: 30.

Value

Invisibly returns NULL without changing endpoint settings.

Examples

if (interactive()) {
 chemi_schema()
}