library(dplyr) # data wrangling (filter, mutate, join)
library(lubridate) # handle datetime fields like created_at or cancelled_at
library(jsonlite) # parse JSON responses from Recharge/Klaviyo APIs
library(httr) # make authenticated API requests
library(keras3) # modern neural network building (Keras v3)
library(tensorflow) # TensorFlow backend for keras3
library(reticulate) # Python bridge