Learn R Programming

nhlscrape (version 0.1.3)

SetDbPath: Set database location on system

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

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

Run this code
# NOT RUN {
SetDbPath(example = TRUE)

# }

Run the code above in your browser using DataLab