% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{plot_fraud_by_month} \alias{plot_fraud_by_month} \title{Plot applications by month (Legit vs Fraud) on a log scale} \usage{ plot_fraud_by_month( dataset_prefix, bucket_name = "baf-fraud", palette = "Dark 3", title = "" ) } \arguments{ \item{dataset_prefix}{Character. Prefix inside the bucket, e.g. "03_primary/variant=Base".} \item{bucket_name}{Character. Bucket name. Default "baf-fraud".} \item{palette}{Character. colorspace qualitative palette name. Default "Dark 3".} \item{title}{Character. Plot title. Default "".} } \value{ A ggplot object. } \description{ Builds an exploratory chart of absolute application counts by month split by outcome (Legit vs Fraud). Uses a log10 y-axis so rare fraud remains visible on the same axis. } \details{ Data source: expects a cleaned "primary" dataset prefix (e.g. 03_primary/variant=Base) stored in MinIO/S3, accessed via \code{connect_baf()}. }