get_all_sources: Retrieve All Sources from PubChem

View source: R/get_all_sources.R

get_all_sourcesR Documentation

Retrieve All Sources from PubChem

Description

This function retrieves a list of all current depositors of substances or assays from PubChem.

Usage

get_all_sources(domain = "substance")

Arguments

domain

A character string specifying the domain for which sources are to be retrieved.

Possible values are:

- ''substance'' (default)

- ''assay''

Details

The PubChem PUG REST API provides a way to retrieve all current depositors (sources) for substances or assays. For more detailed information, please refer to the PubChem Data Sources documentation.

Value

A character vector containing the names of all sources for the specified domain.

Examples

get_all_sources(
  domain = 'substance'
)

PubChemR documentation built on April 4, 2025, 2:18 a.m.