Description Usage Arguments Details Value
Create a metadata skeleton list from a csv dataset to make a JSON-LD description.
1 2 | build_schema_list(csvpath, delimiter = "auto", encoding = "UTF-8",
base = "https://iisg.amsterdam/resource/", dataset_name = "")
|
csvpath |
Path to the csv file for which to create JSON-LD metadata. |
delimiter |
Delimiter of the file. Default is |
encoding |
The encoding of the csv-file. Note that data.table::fread used elsewhere only acccepts UTF-8 and Latin1. |
base |
The base for the URIs that are to be created. You can also change this in the JSON file. |
dataset_name |
The name of the dataset. If empty (default), defaults to the basename of the csv file. |
Obtain a JSON-LD description by writing the resulting list to JSON using
write_schema_json
. It is not recommended to edit the list in R,
but rather to edit that JSON file to fully describe the csv file.
A list describing the csv file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.