db_example: Generate the path to the example database

View source: R/example.R

db_exampleR Documentation

Generate the path to the example database

Description

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

Usage

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")

f-hafner/magutils documentation built on Sept. 20, 2023, 5:05 a.m.