getPgParams {pmparser}R Documentation

Get Postgres connection parameters

Description

This is a helper function to get parameters from a .pgpass file. See here for details.

Usage

getPgParams(path = "~/.pgpass")

Arguments

path

Path to .pgpass file.

Value

A data.table with one row for each set of parameters.

See Also

modifyPubmedDb()

Examples

pg = getPgParams(system.file('extdata', 'pgpass', package = 'pmparser'))


[Package pmparser version 1.0.20 Index]