fetch_unified_data: Fetch and Unified Data from Platforms

fetch_unified_dataR Documentation

Fetch and Unified Data from Platforms

Description

Fetches data from iOS and/or Android and optionally combines them. Handles missing data from one platform gracefully.

Usage

fetch_unified_data(
  ios_app_id = NULL,
  android_app_id = NULL,
  start_date,
  end_date,
  countries,
  date_granularity,
  auth_token,
  verbose = FALSE,
  combine_to_unified = TRUE
)

Arguments

ios_app_id

Character. iOS App ID.

android_app_id

Character. Android App ID.

start_date

Date. Start date.

end_date

Date. End date.

countries

Character vector. Country codes.

date_granularity

Character. Granularity.

auth_token

Character. API token.

verbose

Logical. Verbose output.

combine_to_unified

Logical. Whether to sum metrics into a unified view.

Value

A tibble with columns date, country, revenue, downloads, and optionally platform/app_id.


sensortowerR documentation built on March 18, 2026, 5:07 p.m.