SPResultCheck: Internal Solvas|Capital Function Capital convention used to...

Description Usage Arguments Value

Description

Checks the data returned from a SP for a r_status_code column - if it exists and the values is 'CERR' then throw an error Example: ... data <- sqlQuery(cn, sp, errors=TRUE) SPResultCheck(data, sp) ...

Usage

1

Arguments

data

- dataframe returned from a sql call

sp

- sql text used in the call

Value

throws status_message if status is CERR


deloitte-solvas/Solvas-Capital-R-Utility documentation built on May 15, 2019, 3:21 a.m.