global_query: Global SQL queries for analytics-store.eqiad.wmnet

Description Usage Arguments Author(s) See Also

View source: R/global.R

Description

global_query is a simple wrapper around the MySQL queries that allows a useR to send a query to all production dbs on analytics-store.eqiad.wmnet, joining the results from each query into a single object.

Usage

1
global_query(query, project_type = "all")

Arguments

query

the SQL query you want to run

project_type

what class of wiki (e.g. "wikisource", "wiktionary") you want to run against. Set to "all" by default.

Author(s)

Os Keyes

See Also

mysql_read() for querying an individual db, from_mediawiki() for converting MediaWiki timestamps into POSIXlt timestamps, or query_hive() for accessing the Hive datastore


wikimedia/wikimedia-discovery-wmf documentation built on Feb. 7, 2021, 12:19 a.m.