drug_count: Get the Drug Count in the Drug Dictionary

Description Usage Arguments Details Value See Also

View source: R/cg-internals.R

Description

This is an internal function to the _run* function, which is part of the family of functions that scrape, parse, and store the NCI Drug Dictionary found at CancerGov.org and any correlates to the NCI Thesaurus in a Postgres Database. Use cg_run to run the full sequence. See details for more info.

Usage

1
2
3
4
5
drug_count(size = 10000, crawl_delay = 5)

get_nci_dd(crawl_delay = 5, size = 10000, letters, verbose = TRUE)

drug_count(size = 10000, crawl_delay = 5)

Arguments

size

The number of records to retrieve.

crawl_delay

Delay in seconds.

Details

Retrieve the total number of drugs in the NCI Drug Dictionary from the Drug Dictionary API (https://webapis.cancer.gov/drugdictionary/v1/index.html#/Drugs/Drugs_GetByName)

Retrieve the total number of drugs in the NCI Drug Dictionary from the Drug Dictionary API (https://webapis.cancer.gov/drugdictionary/v1/index.html#/Drugs/Drugs_GetByName)

Retrieve the total number of drugs in the NCI Drug Dictionary from the Drug Dictionary API (https://webapis.cancer.gov/drugdictionary/v1/index.html#/Drugs/Drugs_GetByName)

Value

Drug count as integer

A list with results and metadata.

Drug count as integer

See Also

GET,content toJSON, fromJSON

GET,content toJSON, fromJSON

GET,content toJSON, fromJSON


meerapatelmd/skyscraper documentation built on Dec. 27, 2020, 7:46 a.m.