scrape_current_pkg_html: Scrape Attributes of the HTML content containing the Current...

Description Usage Arguments Value Examples

Description

Given a package HTML content description, extracts the attributes of its current version

Usage

1

Arguments

pkg_html

package HTML document with Description of an R package's current version

Value

list with package attributes. If an attribute is empty, the returned value is NA

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # download a copy to your current working directory
  plspm_current = download_current_pkg("plspm", "plspm_current.html")

  # extract list of attributes
  plspm_attrs = scrape_current_pkg_html(plspm_current)

## End(Not run)

gastonstat/cranium documentation built on May 16, 2019, 5:45 p.m.