stop_if_invalid_category: Checks validity of a category.

Description Usage Arguments

View source: R/utils.R

Description

stop_if_invalid_category checks whether a given category is valid for News API and stops with an error if this is not the case.

Usage

1

Arguments

category

category to check as a string.


CorrelAid/newsanchor documentation built on Sept. 6, 2020, 10:44 a.m.