build_newsanchor_url {newsanchor}R Documentation

Builds query URL for newsapi.org.

Description

build_newsanchor_url adds a list of query arguments to a given News API endpoint.

Usage

build_newsanchor_url(url, query_args)

Arguments

url

NEWS API endpoint.

query_args

named list of parameters that are needed to query the endpoint. Check the News API documentation to see which endpoint requires which parameters.

Value

httr URL.


[Package newsanchor version 0.1.1 Index]