stop_if_invalid_category {newsanchor}R Documentation

Checks validity of a category.

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

stop_if_invalid_category(category)

Arguments

category

category to check as a string.


[Package newsanchor version 0.1.1 Index]