Skip to contents

Saves cleaned Mixpanel data to disk in NDJSON format and can be opened with jsonlite::stream_in() or arrow::read_json_arrow().

Usage

cache_mixpanel(df, file_path)

Arguments

df

A tibble containing cleaned Mixpanel event data

file_path

file path for the cached file

Value

exports file and returns formatted data frame

Examples

if (FALSE) { # \dontrun{
#' # Save as JSON (default)
cache_mixpanel(df, "mixpanel_data_2025-11-16_to_2025-12-19.json")
} # }