% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_transformation.R
\name{yt_export_csv}
\alias{yt_export_csv}
\title{Export data to CSV}
\usage{
yt_export_csv(api_response, filename = NULL, ...)
}
\arguments{
\item{api_response}{API response from YouTube Analytics}

\item{filename}{Output filename (default: auto-generated based on timestamp)}

\item{...}{Additional arguments passed to yt_to_dataframe()}
}
\value{
Path to saved file
}
\description{
Export data to CSV
}
\examples{
\dontrun{
report <- get_daily_performance("last_30_days")
file_path <- yt_export_csv(report, "daily_performance.csv")
}
}
