Make it easy to access the example database in the package for showing examples of function use in the documentation.

db_example(file)

Arguments

file

Name of sqlite database for examples.

Value

A string with the path to the database.

Examples

db_example("AcademicGraph.sqlite")
#> [1] "/tmp/RtmptPxKJr/temp_libpath72cc939d74f39/magutils/extdata/AcademicGraph.sqlite"