Learn R Programming

PubChemR (version 3.0.0)

pc_profile: Apply a Predefined Execution Profile

Description

Applies a named transport profile and optional overrides to `pc_config()`.

Usage

pc_profile(profile = c("default", "cloud", "high_throughput"), ...)

Value

A named list with active transport configuration.

Arguments

profile

One of `"default"`, `"cloud"`, or `"high_throughput"`.

...

Named overrides applied on top of the selected profile.

Details

Profiles provide baseline settings for rate limits, retries, and cache TTL. Any named overrides supplied in `...` replace the selected profile values.

Examples

Run this code
cfg <- pc_profile("default")
cfg$rate_limit

Run the code above in your browser using DataLab