Log the drug count scraped by drug_count
with a timestamp to the Drug Dictionary Log Table and also receive a time difference and count comparison between the most recent count and the current count in the R console.
log_drug_count(conn, verbose = TRUE, render_sql = TRUE, crawl_delay = 5)
conn | Postgres connection object. |
---|---|
verbose | When reading from a slow connection, this prints some output on every iteration so you know its working. |