nhs_Connect: Connect PostgreSQL

Description Usage Arguments Value

View source: R/nhs_connect.R

Description

Connect PostgreSQL

Usage

1
2
3
4
5
6
7
8
nhs_Connect(
  user = "postgres",
  password = "pg",
  dbname = "nhanes",
  host = "localhost",
  port = 5432,
  ...
)

Arguments

user

user, default is 'postgres'

password

password, default is 'pg'

dbname

database name, default is 'nhanes'

host

default is 'localhost'

port

default is 5432

...

passed to DBI::dbConnect()

Value

connection with PostgreSQL


yikeshu0611/nhanesR documentation built on Jan. 29, 2022, 6:08 a.m.