locate_metadata {csvwr}R Documentation

Locate metadata for a table

Description

Follows the procedure defined in the csvw model:

Usage

locate_metadata(filename, metadata)

Arguments

filename

a path for a csv table or a json metadata document

metadata

optional user metadata

Details

  1. Metadata supplied by the user

  2. Metadata referenced by a link header

  3. Metadata located through default paths

  4. Metadata embedded in the file

We extend this to use the derive_metadata function to inspect the table itself.

Value

csvw metadata list


[Package csvwr version 0.1.7 Index]