tdhock opened a new issue, #36325:
URL: https://github.com/apache/arrow/issues/36325
### Describe the enhancement requested
Hello @thisisnic ! I was reading `?read_csv_arrow` today and I expected to
see a description of how to limit the number of lines to read, say the first
10. I see `skip: Number of lines to skip before reading data.` but no
equivalent to `read.csv(nrows=10)` which would read only 10 rows from a CSV
file, and is documented as follows.
```
nrows: integer: the maximum number of rows to read in. Negative and
other invalid values are ignored.
```
Related issue: https://github.com/apache/arrow/issues/33370 has a list of
potential improvements to `read_csv_arrow` but this is not on the list yet, so
I thought posting a new issue would be appropriate.
Also, related, I see on `?read_csv_arrow` several mentions (quoted below) of
"file reader options" and I suspect there may be some way to specify the number
of rows to read via those options, but there is no explanation of what those
are, or how to specify them. Could that information be added to the man page,
please?
```
parse_options: see file reader options. If given, this overrides any
parsing options provided in other arguments (e.g. 'delim',
'quote', etc.).
convert_options: see file reader options
read_options: see file reader options
```
### Component(s)
R
--
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]