diff --git a/R/connection.R b/R/connection.R index e14070b..7f5a588 100644 --- a/R/connection.R +++ b/R/connection.R @@ -45,8 +45,8 @@ pssp_last_update <- function(dsn = "pssp_prod64") { #' @title Queries the pssp database #' @description Queries the pssp database and returns a tibble -#' @param dsn DSN connection default "pssp_prod64" #' @param query SQL Query +#' @param dsn DSN connection default "pssp_prod64" #' @examples #' \dontrun{ #' data <- pssp_query("SELECT * FROM survey LIMIT 10;") diff --git a/man/pssp_query.Rd b/man/pssp_query.Rd index bc5432c..60e0306 100644 --- a/man/pssp_query.Rd +++ b/man/pssp_query.Rd @@ -4,12 +4,12 @@ \alias{pssp_query} \title{Queries the pssp database} \usage{ -pssp_query(dsn = "pssp_prod64", query) +pssp_query(query, dsn = "pssp_prod64") } \arguments{ -\item{dsn}{DSN connection default "pssp_prod64"} - \item{query}{SQL Query} + +\item{dsn}{DSN connection default "pssp_prod64"} } \description{ Queries the pssp database and returns a tibble