hrbrpkghelpr::global_opts()
hrbrpkghelpr::stinking_badges()
hrbrpkghelpr::yank_title_and_description()

What's Inside The Tin

The following functions are implemented:

hrbrpkghelpr::describe_ingredients()

Installation

There is now a Golang dependency, which means you're better off doing:

git clone --recurse-submodules -j8 git@github.com:hrbrmstr/pwhois.git

and building from RStudio or the command line.

Usage

library(pwhois)

# current version
packageVersion("pwhois")

A basic query:

(res <- whois("17.253.144.10"))

str(tidy_pwhois(res), 1)

The Prefix WhoIs project supports some advanced queries including the ability to search on any of their WHOIS registry fields:

(res <- whois("registry org-name=apple, inc"))

tibble::as_tibble(tidy_pwhois(res))

and can return results in different formats including Team Cymru tables:

(res <- whois('type=cymru 17.253.144.10'))

str(tidy_cymru(res), 1)

That tidy_cymru() function can be used on responses from the Team Cymru WHOIS service as well:

(res <- whois('-v AS23028', "whois.cymru.com"))

str(tidy_cymru(res))

The Prefix WhoIs project can also return responses in Routing Policy Specification Language (RPSL), but there is no 'tidy' function for this format yet:

whois('type=rpsl 17.253.144.10') 

Old-school WHOIS

str(pwhois::whois_query("r-project.org"), 2)

pwhois Metrics

cloc::cloc_pkg_md()

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.



hrbrmstr/pwhois documentation built on April 26, 2021, 5:45 a.m.