DataAccess: DataAccess: da_obj to connect and interact with the Solvas...

Description Usage Arguments Examples

Description

DataAccess is a required object which always serves as the first parameter passed to any of the other functions.

Usage

1
2
DataAccess(connection_string_param = "", fs_id_param = NULL,
  event_id_param = NULL)

Arguments

connection_string_param

- The SQL Server connection string

fs_id_param

- The scenario id to run against

event_id_param

- Event Id of the for the scenario run (passed from the server or NULL for local development)

Examples

1
2
3
4
5
6
7
## Not run: 
connection_string = "Driver={Sql Server};server=(local);trusted_connection=True;
database=Internal_Capital_DEV;"
sc_da <- DataAccess(connection_string_param=connection_string, fs_id_param=1)
DataAccess.FiInstrumentGet(sc_da, NULL, 1)

## End(Not run)

mfalbertsGMail/test documentation built on May 22, 2019, 7:54 p.m.