Download publication or author data from DiVA
diva_download(
set = c("pub", "aut"),
org_id = diva_config()$id,
year_beg = diva_config()$ybeg,
year_end = diva_config()$yend,
sync = FALSE,
portal = diva_config()$portal
)
dataset to use, either "pub" (default) or "aut"
organisation to filter for, by default "177" (KTH)
first year in a range of years, default 2013
last year in a range of years, default 2022
logical to indicate if sync should be made to s3 (default: FALSE)
base url for links to portal, by default diva_config()$portal