Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
boB Rudis a3813cd8fa
cinc
4 anos atrás
R initial commit 4 anos atrás
inst/tinytest R package repo initialization complete 4 anos atrás
man initial commit 4 anos atrás
tests R package repo initialization complete 4 anos atrás
.Rbuildignore initial commit 4 anos atrás
.codecov.yml R package repo initialization complete 4 anos atrás
.gitignore R package repo initialization complete 4 anos atrás
.travis.yml R package repo initialization complete 4 anos atrás
CONDUCT.md R package repo initialization complete 4 anos atrás
DESCRIPTION initial commit 4 anos atrás
LICENSE initial commit 4 anos atrás
LICENSE.md initial commit 4 anos atrás
NAMESPACE initial commit 4 anos atrás
NEWS.md R package repo initialization complete 4 anos atrás
README.Rmd R package repo initialization complete 4 anos atrás
README.md cinc 4 anos atrás
countenance.Rproj R package repo initialization complete 4 anos atrás

README.md

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. Signedby Signed commit% Linux buildStatus
Minimal RVersion License

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 value
  • pi_key: Get PIHOLE_API_KEY value
  • pi_over_time_10m: Get recent 10 min time series counts
  • pi_queries: Get query types distribution
  • pi_query_types: Get query types distribution
  • pi_recent: Get recent blocked
  • pi_summary: Get summary stats
  • pi_test: Test connectivity to/get info about a Pi-Hole
  • pi_top_clients: Get top clients
  • pi_top_items: Get top items

Installation

install.packages("countenance", repos = c("https://cinc.rud.is", "https://cloud.r-project.org/"))
# or
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_bitbucket("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.