bt_scraper_checkpoint_1: Check the initial scrape worked properly

View source: R/bt_scraper_checkpoint_1.R

bt_scraper_checkpoint_1R Documentation

Check the initial scrape worked properly

Description

This function ensures: getArticles() exists table.main exists the table.main has the 5 vars it should, correctly named and in the correct format (this is particularly pertinent for the act.date)

Usage

bt_scraper_checkpoint_1()

Details

the required vars are: "act.date", "act.title.en", "act.description.en", "act.url", "act.id"

Value

'OK!' if all is well, error if not.


global-trade-alert/gtabastiat documentation built on June 4, 2023, 6:40 a.m.