diff --git a/R/edit_file.R b/R/edit_file.R index 7b582ee..35f15af 100644 --- a/R/edit_file.R +++ b/R/edit_file.R @@ -245,7 +245,8 @@ edit_file <- function(metadata_dir = file.path("data", "metadata"), file) { output$hot <- rhandsontable::renderRHandsontable({ rhandsontable::rhandsontable(dat, useTypes = TRUE, - stretchH = "all") %>% + stretch = 'all', + colWidths = '250px') %>% rhandsontable::hot_context_menu(allowColEdit = FALSE) }) diff --git a/R/write_spice.R b/R/write_spice.R index 5771e0a..75457d8 100644 --- a/R/write_spice.R +++ b/R/write_spice.R @@ -76,6 +76,7 @@ write_spice <- function(path = file.path("data", "metadata"), ...) { creator = authors, description = biblio$description, datePublished = biblio$datePublished, + citation = biblio$citation, keywords = biblio_keywords, funder = biblio$funder, temporalCoverage = paste(biblio$startDate, biblio$endDate, sep="/"), diff --git a/inst/template.html5 b/inst/template.html5 index 65050c6..3754064 100644 --- a/inst/template.html5 +++ b/inst/template.html5 @@ -61,6 +61,10 @@