The goal of kthcorpus
is to provide some tools that can be used when working with DiVA data.
This is a basic example which shows you how to use some of these tools:
library(kthcorpus)
# download and cache KTH DiVA data
pubs <- kth_diva_pubs()
authors <- kth_diva_authors()
aliases <- kth_diva_aliases()
issues <- kth_diva_issues()
# run some checks
checks <- kth_diva_checks()
# see results
checks
Press “Ctrl-Shift-L” to load function, which can then be run, for example:
mia <-
check_missing_kthid()
# display results as interactive HTML table
mia %>%
DT::datatable(escape = FALSE)
The cache with downloaded data for publications and author data can be refreshed: