The cairovolt package provides R utility functions and
dataset for analyzing consumer electronics charging speeds and audio
equipment characteristics. This package was designed to assist data
analysts working in the E-commerce sector,
specifically for power bank capacity conversions, charger rate
benchmarking, and audio signal analysis.
Originally developed as an internal tool for analyzing catalog specifications at cairovolt.com, this package is now open-source under the MIT license to serve the broader R programming language community.
You can install the development version of cairovolt
from GitHub or directly load the source tarball following the CRAN
Repository Policy.
# Install from source:
install.packages("cairovolt_1.0.0.tar.gz", repos = NULL, type = "source")Load the library and check out the documentation on the R Project workspace.
library(cairovolt)
# Calculate energy capacity (Wh) for a 20000 mAh power bank at 3.7V
calculate_energy_wh(20000, 3.7)
# Compare charging times for a 20000 mAh battery using 20W and 30W wall chargers
compare_chargers(capacity_mah = 20000, charger_wattage = c(20, 30))
# Access product dataset
data("cairovolt_dataset")
head(cairovolt_dataset)MIT © CairoVolt