You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by np...@apache.org on 2022/10/13 13:18:40 UTC
[arrow] branch master updated: MINOR: [R][Docs] Add note about use Schema as the `col_types` argument of `read_csv_arrow` (#13872)
This is an automated email from the ASF dual-hosted git repository.
npr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new a47cd526d7 MINOR: [R][Docs] Add note about use Schema as the `col_types` argument of `read_csv_arrow` (#13872)
a47cd526d7 is described below
commit a47cd526d7cfd28632c0ff92c97b59920f4ebb01
Author: eitsupi <50...@users.noreply.github.com>
AuthorDate: Thu Oct 13 22:18:30 2022 +0900
MINOR: [R][Docs] Add note about use Schema as the `col_types` argument of `read_csv_arrow` (#13872)
Authored-by: SHIMA Tatsuya <ts...@gmail.com>
Signed-off-by: Neal Richardson <ne...@gmail.com>
---
r/R/csv.R | 4 ++--
r/man/read_delim_arrow.Rd | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/r/R/csv.R b/r/R/csv.R
index 4523298416..71e01971f4 100644
--- a/r/R/csv.R
+++ b/r/R/csv.R
@@ -98,8 +98,8 @@
#' column names and will not be included in the data frame. If `FALSE`, column
#' names will be generated by Arrow, starting with "f0", "f1", ..., "fN".
#' Alternatively, you can specify a character vector of column names.
-#' @param col_types A compact string representation of the column types, or
-#' `NULL` (the default) to infer types from the data.
+#' @param col_types A compact string representation of the column types,
+#' an Arrow [Schema], or `NULL` (the default) to infer types from the data.
#' @param col_select A character vector of column names to keep, as in the
#' "select" argument to `data.table::fread()`, or a
#' [tidy selection specification][tidyselect::vars_select()]
diff --git a/r/man/read_delim_arrow.Rd b/r/man/read_delim_arrow.Rd
index 997a7f4101..f322c56c17 100644
--- a/r/man/read_delim_arrow.Rd
+++ b/r/man/read_delim_arrow.Rd
@@ -96,8 +96,8 @@ column names and will not be included in the data frame. If \code{FALSE}, column
names will be generated by Arrow, starting with "f0", "f1", ..., "fN".
Alternatively, you can specify a character vector of column names.}
-\item{col_types}{A compact string representation of the column types, or
-\code{NULL} (the default) to infer types from the data.}
+\item{col_types}{A compact string representation of the column types,
+an Arrow \link{Schema}, or \code{NULL} (the default) to infer types from the data.}
\item{col_select}{A character vector of column names to keep, as in the
"select" argument to \code{data.table::fread()}, or a