-
Notifications
You must be signed in to change notification settings - Fork 6
/
websitehelper.r
43 lines (29 loc) · 1.1 KB
/
websitehelper.r
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
setwd("website_build")
blogdown::hugo_cmd("--config config.toml,config-dat.toml") #bulid dat version
blogdown::build_site()
blogdown::stop_server()
blogdown::serve_site() # preview http version
blogdown::hugo_build() # do not recompile rmd file
-------
blogdown:::new_post_addin()
# banner : "img/userstory.png"
# banner : "material/CC-BY/eJournals_DigitalPreservation.png"
# collected_stories (user or from web)
# tags: - user_story
# tags: - collected data
# banner : "img/newidea.png"
# idea_new_mat
# banner : "material/CC-BY/eJournals_DigitalPreservation.png"
#data
# banner : "material/CC-BY/FunctionalPreservation_DigitalPreservation"
#created_material
Distributed under a CC0 license
Collected by Julien Colomb,
data manager
## get googlesheetsupdates
#library(googlesheets)
be=googlesheets::gs_title("list of videos for the promotion of open data and rdm. see https://rdmpromotion.rbind.io")
list=googlesheets::gs_read(ss=be, #literal=FALSE,
col_types = readr::cols(`duration_mm:ss` =readr::col_character()))
readr::write_csv(list,path = "static/material/ggsheet_list.csv")