extract_newsanchor_metadata: Extracts metadata.

Description Usage Arguments Value

View source: R/utils.R

Description

extract_newsanchor_metadata extracts meta data from the response object and the parsed content.

Usage

1
2
3
4
5
6
extract_newsanchor_metadata(
  response,
  content_parsed,
  page = NULL,
  page_size = NULL
)

Arguments

response

httr response object

content_parsed

parsed content of a response to News API query

page

Specifies the page number of your results that was returned. Defaults to NULL.

page_size

The number of articles per page that were returned. Defaults to NULL.

Value

data frame containing meta data related to the query.


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