R/recipes_exist.R

Defines functions recipes_exist

Documented in recipes_exist

#' A check for recipe data within a webpage
#'
#' @param url The url of a webpage
#' @export
recipes_exist = function(url) {
  api = getrecipes::get_api()
  is.data.frame(getrecipes::get_response(api = api, url)$results)
}
JohnMcIntyreJR/getrecipes documentation built on June 15, 2020, 4:09 p.m.