commit 99c2b4ef2084f683b2c11a6746e148fb3f7b3731
parent 13c046ac6b482dd415069761c907a08aeba71d8d
Author: NunoSempere <nuno.sempere@protonmail.com>
Date: Tue, 29 Aug 2023 23:49:32 +0200
add stats script
Diffstat:
3 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/stats/Rplots.pdf b/stats/Rplots.pdf
Binary files differ.
diff --git a/stats/labeling-stats.R b/stats/labeling-stats.R
@@ -0,0 +1,13 @@
+# install.packages("dlstats")
+library(dlstats)
+library(ggplot2)
+
+x <- cran_stats(c("labeling"))
+
+if (!is.null(x)) {
+ head(x)
+ ggplot(x, aes(end, downloads, group=package, color=package)) +
+ geom_line() + geom_point(aes(shape=package))
+}
+
+ggsave("test.png", width=6, height=4)
diff --git a/stats/stats.txt b/stats/stats.txt
@@ -0,0 +1,2 @@
+https://cranlogs.r-pkg.org/downloads/total/2020-01-01:2100-01-31/labeling
+https://cranlogs.r-pkg.org/downloads/total/last-month/labeling