Mirrors the view set the serving serve.duckdb exposes, so the calc/score
helpers that reference bare table names (tbl(con, "zone"), scores_for_pra(),
species_for_cells(), …) compose directly with an attach_atlas() connection.
Single-file tables are read via path-style HTTPS (anonymous GET + HTTP range;
the dotted bucket breaks virtual-hosted TLS). model_cell is Hive-partitioned
under serve/ and its glob needs S3 LIST, so it is created only when
anon = FALSE (credentialed); it joins model back so ad-hoc queries select by
the stable mdl_key, not the volatile mdl_id. The scoring tables store the
metric in val; a val AS value alias is exposed for back-compat.
Usage
atlas_views(
con,
base = attr(con, "atlas_base"),
region = "us-east-1",
anon = FALSE
)Arguments
- con
connection from
attach_atlas()- base
atlas base URL (defaults to
attr(con, "atlas_base"))- region
S3 region
- anon
if
TRUE, skip the credentialedmodel_cellglob view