stop_if_invalid_country {newsanchor}R Documentation

Checks validity of a country

Description

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

Usage

stop_if_invalid_country(country)

Arguments

country

country to check as a string.


[Package newsanchor version 0.1.1 Index]