get_all_sources {PubChemR}R 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'
)

[Package PubChemR version 2.1.3 Index]