REDCapR | R utilities for interacting with REDCap | REST library
kandi X-RAY | REDCapR Summary
kandi X-RAY | REDCapR Summary
[REDCapR] .
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of REDCapR
REDCapR Key Features
REDCapR Examples and Code Snippets
Community Discussions
Trending Discussions on REDCapR
QUESTION
I'm rewriting a function that optionally accepts a connection object. The parameter should be verified that it's a valid connection/channel. How do I do this robustly with the DBI
package? (Specifically, I'm using odbc
package.)
I'd like something that accommodates all DBI connection objects, but I'll settle for just odbc connection objects
Running something like this doesn't produce a value I know how to query with inherits()
.
ANSWER
Answered 2018-May-18 at 21:19The DBI spec requires¹ all connections to inherit from DBIConnection
. The "new style" backends all implement it like this, IIRC:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install REDCapR
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page