locate_metadata: 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
Metadata supplied by the user
Metadata referenced by a link header
Metadata located through default paths
Metadata embedded in the file
We extend this to use the derive_metadata function to inspect the table itself.