get_schema | R Documentation |
Returns the Table Schema of a Data Resource (in a Data Package), i.e. the
content of its schema
property, describing the resource's fields, data
types, relationships, and missing values.
The resource must be a Tabular Data Resource.
get_schema(package, resource_name)
package |
Data Package object, as returned by |
resource_name |
Name of the Data Resource. |
See vignette("table-schema")
to learn more about Table Schema.
List describing a Table Schema.
# Load the example Data Package
package <- example_package()
# Get the Table Schema for the resource "observations"
schema <- get_schema(package, "observations")
str(schema)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.