cordis_import: Import CORDIS database

View source: R/cordis.R

cordis_importR Documentation

Import CORDIS database

Description

Imports the CORDIS database extract from parquet files, needs to run at least once after package installation

Usage

cordis_import(
  repo_slug = "kth-library/cordis-data",
  refresh = FALSE,
  verbose = TRUE,
  version = "v0.2.1"
)

Arguments

repo_slug

the repo slug for the GitHub repo with a release containing an export made using this package, Default: 'kth-library/cordis-data'

refresh

logical indicating whether to reimport overwriting existing data, Default: FALSE

verbose

logical whether to display messages, Default: TRUE

version

release version for data to use

Value

invisible TRUE on success

Examples

## Not run: 
if(interactive()){
 cordis_import()
 }

## End(Not run)

KTH-Library/cordis documentation built on Sept. 14, 2023, 8:16 p.m.