czso_get_table_schema | R Documentation |
Retrieves and parses the schema for the table identified by dataset_id and resource_num.
czso_get_table_schema(dataset_id, resource_num = 1)
dataset_id |
Dataset ID |
resource_num |
Resource number, typically 1 in CZSO (the default) |
Currently only handles JSON schema files for CSV files. If the schema is a different format, an error is returned pointing the user to the URL of the file.
a tibble with a description of the table columns, with the following items:
name
: the column name.
titles
: usually the duplicate of name
dc:description
: a Czech-language description of the column
required
: whether the column is required
datatatype
: the data type of the column; either "number" or "string"
Other Additional tools:
czso_get_dataset_doc()
,
czso_get_dataset_metadata()
czso_get_table_schema("110080")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.