jonkeane commented on code in PR #13038:
URL: https://github.com/apache/arrow/pull/13038#discussion_r865107403


##########
r/R/csv.R:
##########
@@ -135,6 +135,8 @@
 #' write.csv(mtcars, file = tf)
 #' df <- read_csv_arrow(tf)
 #' dim(df)
+#' # Can specify the encoding of the file
+#' df <- read_csv_arrow(tf, read_options = CsvReadOptions$create(encoding = 
"utf8"))

Review Comment:
   I definitely think that `CsvReadOptions$create()` is not an ideal API for 
end users here. I'm very pro opening up a ticket to make that easier (even if 
it's "just" a mapping of a list to args like Nic is suggesting)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to