Layouts (lazy)
entropia_layouts.RdA lazy dplyr::tbl() over the layouts table. Each row is the page-layout
analysis of one asset; id is deterministic (lay-{asset_id}) and
asset_id is UNIQUE (1:1 with entropia_assets()). regions and blocks
are JSON-in-TEXT columns, parsed by entropia_collect().
Arguments
- con
A connection returned by
entropia_connect().
Examples
con <- entropia_connect(system.file("extdata", "entropia-example.sqlite",
package = "entropiaR"
))
entropia_collect(entropia_layouts(con))
#> # A tibble: 1 × 8
#> id asset_id regions blocks model image_width image_height
#> <chr> <chr> <list> <list> <chr> <int> <int>
#> 1 lay-33333333-3333-4333… 3333333… <df> <df> layo… 1000 1400
#> # ℹ 1 more variable: created_at <dttm>
entropia_disconnect(con)