metadata | R Documentation |
Use this function to describe a data frame in preparation for JSON-LD
metadata generation using codebook()
or metadata_list()
.
metadata(data) metadata(data) <- value
data |
the data frame |
value |
the metadata attribute |
data('bfi') metadata(bfi)$name <- "MOCK Big Five Inventory dataset (German metadata demo)" metadata(bfi)$description <- "a small mock Big Five Inventory dataset" metadata(bfi)$identifier <- "doi:10.5281/zenodo.1326520" metadata(bfi)$datePublished <- "2016-06-01" metadata(bfi)$creator <- list( "@type" = "Person", givenName = "Ruben", familyName = "Arslan", email = "ruben.arslan@gmail.com", affiliation = list("@type" = "Organization", name = "MPI Human Development, Berlin")) metadata(bfi)$citation <- "Arslan (2016). Mock BFI data." metadata(bfi)$url <- "https://rubenarslan.github.io/codebook/articles/codebook.html" metadata(bfi)$temporalCoverage <- "2016" metadata(bfi)$spatialCoverage <- "Goettingen, Germany" metadata(bfi)$keywords <- c("Personality", "Psychology") metadata(bfi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.