% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deckgl.R
\name{hydrate_deckgl_spec}
\alias{hydrate_deckgl_spec}
\title{Hydrate Deck.gl DuckDB data references}
\usage{
hydrate_deckgl_spec(
  spec,
  con,
  list_col_metadata = NULL,
  data_transport = c("auto", "file", "inline"),
  data_dir = NULL
)
}
\arguments{
\item{spec}{Deck.gl specification as an R list.}

\item{con}{A live DBI connection to DuckDB.}

\item{list_col_metadata}{Environment containing metadata about JSON-encoded list columns.}

\item{data_transport}{`"auto"` to use `"file"` when `data_dir` is supplied
and `"inline"` otherwise, `"inline"` for base64 payloads, or `"file"` for
relative Arrow/Parquet URLs.}

\item{data_dir}{Directory used by `"file"` transport.}
}
\value{
A hydrated list that is safe to JSON-encode for Deck.gl.
}
\description{
Recursively walks a Deck.gl specification and replaces `type = "duckdb"`
data nodes with concrete result sets queried via the provided connection.
}
\keyword{internal}
