SetDbPath: Set database location on system

Description Usage Arguments Value Examples

View source: R/db_retrieval.R

Description

Sets the path to the database file. This function must be run to allow operation of other functions which require saving to a database

Usage

1
SetDbPath(db_path = "nhl.sqlite", example = FALSE)

Arguments

db_path

Character, contains the system path to the db file

example

boolean, set to FALSE by default, if TRUE it will copy the example db file and set the path pointing to it

Value

Character, contains the path to the database.

Examples

1

nhlscrape documentation built on March 26, 2020, 5:29 p.m.