diff --git a/R/http_requests.R b/R/http_requests.R index 6f74b85..fb9332f 100644 --- a/R/http_requests.R +++ b/R/http_requests.R @@ -3,10 +3,10 @@ #' Make GET request to Google Sheets API. #' #' @param url the url of the page to retrieve -#' @param to_xml whether to convert response contents to xml_doc() or leave as -#' character string -#' @param use_auth logical; indicates if authorization be used, defaults to -#' \code{FALSE} if \code{url} implies public visibility and \code{FALSE} +#' @param to_xml whether to convert response contents to \code{xml_doc()} or +#' leave as character string +#' @param use_auth logical; indicates if authorization should be used, defaults +#' to \code{FALSE} if \code{url} implies public visibility and \code{TRUE} #' otherwise #' @param ... optional; further named parameters, such as \code{query}, #' \code{path}, etc, passed on to \code{\link[httr]{modify_url}}. Unnamed diff --git a/man/gsheets_GET.Rd b/man/gsheets_GET.Rd index 4a3fe94..68f3e45 100644 --- a/man/gsheets_GET.Rd +++ b/man/gsheets_GET.Rd @@ -9,11 +9,11 @@ gsheets_GET(url, to_xml = TRUE, use_auth = !grepl("public", url), ...) \arguments{ \item{url}{the url of the page to retrieve} -\item{to_xml}{whether to convert response contents to xml_doc() or leave as -character string} +\item{to_xml}{whether to convert response contents to \code{xml_doc()} or +leave as character string} -\item{use_auth}{logical; indicates if authorization be used, defaults to -\code{FALSE} if \code{url} implies public visibility and \code{FALSE} +\item{use_auth}{logical; indicates if authorization should be used, defaults +to \code{FALSE} if \code{url} implies public visibility and \code{TRUE} otherwise} \item{...}{optional; further named parameters, such as \code{query},