pd_tables: The tables of a dataset

View source: R/publicdataau.R

pd_tablesR Documentation

The tables of a dataset

Description

A database such as G-NAF is served as one DuckDB file holding several tables, with one Parquet file per table beside it. A dataset that is one table has one entry, 'records'.

Usage

pd_tables(slug, version = NULL)

Arguments

slug

The dataset's slug, as in its page URL 'https://publicdata.au/d/<slug>/'.

version

A version date from [pd_versions()]. The newest when 'NULL'.

Value

A tibble with one row per table: its name, description, rows, number of fields and key.

See Also

Other metadata: pd_attribution(), pd_changes(), pd_cite(), pd_fields(), pd_latest(), pd_provenance(), pd_schema()

Examples


pd_tables("qld-road-crash-factors")


publicdataau documentation built on Oct. 14, 2026, 5:07 p.m.