powered by
html_text(x, trim = FALSE)html_name(x)html_children(x)html_attrs(x)html_attr(x, name, default = NA_character_)
html_name(x)
html_children(x)
html_attrs(x)
html_attr(x, name, default = NA_character_)
TRUE
html_attr
html_tag
html_text
html_attrs
movie <- read_html("http://www.imdb.com/title/tt1490017/") cast <- html_nodes(movie, "#titleCast span.itemprop") html_text(cast) html_name(cast) html_attrs(cast) html_attr(cast, "class")
Run the code above in your browser using DataLab