Learn R Programming

OpasnetUtils (version 1.1.0)

op_base: Functions for Interaction with the Opasnet Base (obsolete)

Description

A collection of functions used in Opasnet for database interaction. Includes functions for fetching datasets, exploring the dimensions of Opasnet variables and writing objects into the database. This function family has been replaced by the opbase family

Usage

op_baseGetData(dsn, ident, ...)
op_baseGetLocs(dsn, ident, ...)

Arguments

dsn
a defined Data Service Name (in ODBC) to use
ident
object identifier in Opasnet (or other)
...
arguments for opbase

Value

  • op_baseGetDataReturns data as a data.frame.
  • op_baseGetLocsReturns dimension information as a data.frame.
  • op_baseWriteReturns 0 if successful.

Details

Obsolete. See also: http://en.opasnet.org/w/Opasnet_Base_Connection_for_R

Examples

Run this code
op_baseGetLocs("opasnet_base", "Op_en4723")
  asthma <- op_baseGetData("opasnet_base", "Op_en4723", exclude = 48823)

Run the code above in your browser using DataLab