prepare_registry: Prepare a SQL Server Database for Model Uploads

Description Usage Arguments Examples

View source: R/interface.R

Description

Prepare a SQL Server Database for Model Uploads

Usage

1
prepare_registry(db_config_path = "db.yml")

Arguments

db_config_path

A character vector representing the path to a YAML file with database configuration details

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Ensure that a db.yml file is in the current working directory with the following
# keys filled out at the top level
#
# Database: "MyDatabase"                   # The SQL Server database name where the models will be stored
# Schema: "some_schema"                    # The (unbracketed) SQL Server database schema that the model registry will be written to
# User: "my_db_user"                       # The username that will be used for SQL Server authentication
# Password: "password123"                  # The password that will be used for SQL Server authentication
# Server: "my.database.hostname"           # The hostname of the database server
# Port: 1433                               # An integer representing the port number of the database
# Driver: "ODBC Driver 17 for SQL Server"  # A string representing the driver to be used to interact with SQL Server

# Prepare the registry
prepare_registry()

team-sparkfish/castpack documentation built on Aug. 26, 2020, 7:34 a.m.