Skip to contents

Reading annotated tables

read_csvw()
Read CSV on the Web
read_csvw_dataframe()
Read a data frame from the first table in a csvw
csvwr_example()
Get path to csvwr example
extract_table()
Extract a referenced table from CSVW metadata
read_metadata()
Read and parse CSVW Metadata

Writing table annotations

derive_table_schema()
Derive csvw table schema from a data frame
create_metadata()
Create tabular metadata from a list of tables
derive_metadata()
Derive csvw metadata from a csv file
default_dialect
CSVW default dialect
default_schema()
Create a default table schema given a csv file and dialect

Validating table annotations

normalise_metadata()
Normalise metadata
validate_csvw()
Validate CSVW specification
validate_referential_integrity()
Validate the referential integrity of a csvw table group

Utility functions

base_uri()
Retrieve the base URI from configuration
render_uri_templates()
Render URI templates
csvw_to_list()
Convert a csvw metadata to a list (csv2json)
type_to_datatype()
Map R types to csvw datatype
datatype_to_type()
Map csvw datatypes to R types
transform_datetime_format()
Transform date/time format string from Unicode TR35 to POSIX 1003.1
coalesce_truth()
Coalesce value to truthiness