Learn R Programming

pmparser (version 1.0.23)

getPgParams: 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")

Value

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

Arguments

path

Path to .pgpass file.

See Also

modifyPubmedDb()

Examples

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

Run the code above in your browser using DataLab