Convert data set into JSON-stat collection
as.collection(..., label = "", href = "", src = NULL, extension = NULL,
updated = NULL)
a named list, the function creates a collection based on user input like the same way as `list`.
label of dataset
href of dataset, "" by default
source of dataset, NULL by default
user data, NULL by default
a timestamp for data, NULL by default