R/attr_href.R

Defines functions attr_href

Documented in attr_href

#' Get hypertext reference attributes
#'
#' @param x A document (from read_html()), node set (from html_elements()), node (from html_element()), or session (from session()).
#'
#' @return hypertext reference attributes
#' @export
#'
attr_href <- function(x){
    rvest::html_attr(x,'href')
}
yikeshu0611/do documentation built on Aug. 5, 2021, 4:17 p.m.