shenapse / r-functions-on-dbi

user-defined functions that DBI + RPostgres users would find useful.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This is a set of user-defined functions that DBI + RPostgres users would find useful. They take similar arguments to DBI functions and behave similarly. The source code is in scr/def.Rmd.

This article provides an overview of each function, its definition code, and examples.

Some familiarity with DBI is assumed since they all heavily rely on it. For more information on these packages, please refer to the articles in references.

Functions included

  • Connections
    • Issue a connection
    • Disconnect connections at once
  • Views
    • Create a view
    • List views
    • Test existence of a view
    • Drop a view
  • Misc
    • Free resources
    • Drop a table with options

References

Introduction

DBI

RPostgres

About

user-defined functions that DBI + RPostgres users would find useful.