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.
drug_count(size = 10000, crawl_delay = 5)
| size | The number of records to retrieve. |
|---|---|
| crawl_delay | Delay in seconds. |
Drug count as integer
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)