nhs_pg: Query data from PostgreSQL database

Description Usage Arguments Value

View source: R/nhs_pg.R

Description

Query data from PostgreSQL database

Usage

1
2
3
4
5
6
7
8
9
nhs_pg(
  ...,
  varLabel = TRUE,
  codebook = TRUE,
  nrows = Inf,
  lowercd = FALSE,
  force_rbind = FALSE,
  conn
)

Arguments

...

files and variables

varLabel

logical. Whether to add label for variables, default is TRUE

codebook

logical. Whether to convert code into label.

nrows

maximum rows to read. default is infinity

lowercd

logical. Whether to convert codebook to little letter.

force_rbind

logical. Whether to rbind the query list data

conn

connection to nhanes database in PostgreSQL

Value

query data


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