R/fetch_week_matches.R

Defines functions fetch_week_matches

Documented in fetch_week_matches

#' Fetch Match Data for Week
#'
#' @param week a number between 1-16
#'
#' @return a list of match data
#'
#' @import httr
#' @import httpuv
#'
#' @export
#'
#' @examples
#' fetch_week_matches(1)
fetch_week_matches <- function(week) {
  # Retrieve matches from yahoo api for given week
  path <- "urltodo"
  yahoo_api(path)
}
TK2575/fantasyFootballData documentation built on May 17, 2019, 10:37 a.m.