You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boB Rudis
78ef594e40
|
4 years ago | |
---|---|---|
R | 4 years ago | |
inst/tinytest | 4 years ago | |
man | 4 years ago | |
tests | 4 years ago | |
.Rbuildignore | 4 years ago | |
.codecov.yml | 4 years ago | |
.gitignore | 4 years ago | |
.travis.yml | 4 years ago | |
CONDUCT.md | 4 years ago | |
DESCRIPTION | 4 years ago | |
LICENSE | 4 years ago | |
LICENSE.md | 4 years ago | |
NAMESPACE | 4 years ago | |
NEWS.md | 4 years ago | |
README.Rmd | 4 years ago | |
README.md | 4 years ago | |
countenance.Rproj | 4 years ago |
README.md
countenance
Tools to Work with the Pi-Hole API
Description
Named after a primary synonym for ‘pihole’, tools are provided to access the Pi-Hole API.
What’s Inside The Tin
The following functions are implemented:
pi_fwd_dest
: Get forward destinations (i.e. upstream DNS)pi_host
: Get or set PIHOLE_HOST valuepi_key
: Get PIHOLE_API_KEY valuepi_over_time_10m
: Get recent 10 min time series countspi_queries
: Get query types distributionpi_query_types
: Get query types distributionpi_recent
: Get recent blockedpi_summary
: Get summary statspi_test
: Test connectivity to/get info about a Pi-Holepi_top_clients
: Get top clientspi_top_items
: Get top items
Installation
remotes::install_git("https://git.rud.is/hrbrmstr/countenance.git")
# or
remotes::install_git("https://git.sr.ht/~hrbrmstr/countenance")
# or
remotes::install_gitlab("hrbrmstr/countenance")
# or
remotes::install_github("hrbrmstr/countenance")
NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.
Usage
library(countenance)
# current version
packageVersion("countenance")
## [1] '0.1.0'
countenance Metrics
Lang | # Files | (%) | LoC | (%) | Blank lines | (%) | # Lines | (%) |
---|---|---|---|---|---|---|---|---|
R | 15 | 0.94 | 207 | 0.96 | 119 | 0.89 | 90 | 0.76 |
Rmd | 1 | 0.06 | 8 | 0.04 | 15 | 0.11 | 28 | 0.24 |
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.