Description Usage Arguments Details Value
Creates an SQLite database for a league and season
1 | sq_create_database(directory, league, season, verbose)
|
directory |
valid path to a directory where the database file will be stored. It will be created if it doesn't exist. |
league |
the league ("nba", "nhl", "nfl" or "mlb") |
season |
a valid season descriptor for the league |
verbose |
print status information |
The database will be saved to file
<directory>/<league>_<season>.sqlite
"'. It will be
overwritten if it exists and created if it doesn't.
a DBI connection object pointing to the database.
sq_create_database
will disconnect before returning.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.