pd_schema: A version's schema

View source: R/publicdataau.R

pd_schemaR Documentation

A version's schema

Description

A version's schema

Usage

pd_schema(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

The version's 'schema.json' as a list: the fields of a table, or for a database every table with its fields, keys and references, and the views. [pd_fields()] gives the fields as a tibble.

See Also

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

Examples


names(pd_schema("qld-road-crash-factors"))


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