Learn R Programming

PubChemR (version 2.1.3)

get_all_sources: 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")

Value

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

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.

Examples

Run this code
get_all_sources(
  domain = 'substance'
)

Run the code above in your browser using DataLab