RankGun logoRankGun

Data Warehouse

Query and analyze your workspace data with RankGun's Data Warehouse. Build custom reports and insights. Elite subscription required.

Elite Subscription Required

The Data Warehouse feature requires an Elite subscription.

The Data Warehouse provides advanced analytics capabilities with a powerful query builder. Access your workspace data for in-depth analysis and reporting.

Overview

The Data Warehouse allows you to:

  • Build custom queries using an intuitive filter-based interface
  • Save frequently used queries for quick access
  • Export query results in multiple formats
  • Analyze trends over time

Accessing the Data Warehouse

  1. Navigate to your workspace dashboard
  2. Click Analytics in the sidebar
  3. Select Data Warehouse

Available Tables

Query data from these workspace tables:

TableDescription
AuditsComplete workspace audit history
Rank ActionsAll ranking operations (promotes, demotes, setrank)
Activity LogsPlayer activity tracking records
Activity UsersPlayer activity summaries and stats
SessionsScheduled session data
Session ParticipantsSession attendance and RSVP data
Workspace MembersCurrent workspace member list
ApplicationsApplication centre submissions
API Request LogsAPI usage and analytics

Building Queries

Use the query builder to create custom queries:

Select Fields

Choose which fields to include in your results. Each table has a set of available fields you can select.

Add Filters

Filter your data using these operators:

OperatorDescriptionExample
EqualsExact matchaction = "promote"
Not equalsExclude matchesstatus != "pending"
Greater thanNumeric comparisonduration > 60
Less thanNumeric comparisoncount < 100
ContainsPartial text matchusername contains "admin"
InMatch any in listrole in ["admin", "moderator"]

Date Range

Filter results to a specific time period by setting start and end dates.

Group By

Group results by a field to aggregate data. Useful for creating summaries like "rank actions per user" or "activity by day".

Aggregations

Apply aggregations to grouped data:

AggregationDescription
CountNumber of records
SumTotal of numeric field
AverageMean of numeric field
MinMinimum value
MaxMaximum value

Ordering & Limits

  • Order by: Sort results by any field (ascending or descending)
  • Limit: Restrict the number of results returned

Saved Queries

Save queries you use frequently:

  1. Build your query in the editor
  2. Click Save Query
  3. Give it a descriptive name
  4. Access saved queries from the sidebar

Sharing Queries

Saved queries can be shared with workspace admins. Toggle the Share with admins option when saving.

Exporting Data

Export query results in multiple formats:

FormatBest For
CSVSpreadsheets, data analysis tools
JSONAPI integrations, custom processing
MarkdownDocumentation, reports

Export Options

  1. Run your query
  2. Click Export Results
  3. Select your preferred format
  4. Download or copy to clipboard

Best Practices

  1. Use date filters — Always filter by date range to avoid large result sets
  2. Limit results — Use limits for exploratory queries
  3. Save frequently — Save useful queries for quick access
  4. Use grouping — Group data to create meaningful summaries

Rate Limits

To ensure fair usage:

  • Maximum query execution time: 30 seconds
  • Maximum result rows: 10,000
  • Queries per hour: 100

Contact support if you need higher limits for specific use cases.

Was this page helpful?

On this page