pub_wiki {epidatr}R Documentation

Wikipedia webpage counts by article

Description

API docs: https://cmu-delphi.github.io/delphi-epidata/api/wiki.html Number of page visits for selected English, Influenza-related wikipedia articles.

Usage

pub_wiki(
  articles,
  ...,
  time_type = c("day", "week"),
  time_values = "*",
  hours = NULL,
  language = "en",
  fetch_args = fetch_args_list()
)

Arguments

articles

character. Articles to fetch.

...

not used for values, forces later arguments to bind by name

time_type

string. The temporal resolution of the data (either "day" or "week", depending on signal).

time_values

timeset. Dates or epiweeks to fetch. Defaults to all ("*") dates.

hours

integer. Optionally, the hours to fetch.

language

string. Language to fetch.

fetch_args

fetch_args. Additional arguments to pass to fetch().

Value

tibble::tibble

Examples

## Not run: 
pub_wiki(
  articles = "avian_influenza",
  time_type = "week",
  time_values = epirange(201501, 201601)
)

## End(Not run)

[Package epidatr version 1.2.0 Index]