| pd_schema | R Documentation |
A version's schema
pd_schema(slug, version = NULL)
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'. |
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.
Other metadata:
pd_attribution(),
pd_changes(),
pd_cite(),
pd_fields(),
pd_latest(),
pd_provenance(),
pd_tables()
names(pd_schema("qld-road-crash-factors"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.