NOTICE: while this package is installed from GitHub (wikimedia/wmfdata-r), that repository is a read-only mirror of wikimedia/discovery/wmf repository hosted on Gerrit. See mediawiki:Developer account for information about creating a Wikimedia Developer account for contributing to this package, MediaWiki, and other Wikimedia projects.
Other packages from Wikimedia Foundations's Product Analytics team include wmfdata for working with Wikimedia data in Python, and waxer for querying Wikimedia Analytics Query Service in R, and wmfastr for speedy dwelltime and search preference metrics calculations in R.
# install.packages("remotes", repos = c(CRAN = "https://cran.rstudio.com/"))
remotes::install_github("wikimedia/wmfdata-r")
To update:
remotes::update_packages("wmfdata")
set_proxies
to set http(s) proxies on the analytics clusterglobal_query
for querying all of our MySQL databasesfrom_mediawiki
and from_log
(and corresponding to_*
functions) to convert between time formatsquery_hive
for querying our Hadoop cluster via Hivemysql_read
for querying our MariaDB databases?connection_details
for more infochisq_test_odds
estimates sample size for a chi-squared test given an odds ratiochisq_test_effect
estimates sample size for a chi-squared test given Cohen's wAlso includes Wikimedia Design visual style colors:
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.