readr: Read Tabular Data

Share:

Read flat/tabular text files from disk (or a connection).

Author
Hadley Wickham [aut, cre], Jim Hester [aut], Romain Francois [aut], R Core Team [ctb] (Date time code adapted from R), RStudio [cph], Jukka Jäylnki [ctb, cph] (grisu3 implementation), Mikkel Jørgensen [ctb, cph] (grisu3 implementation)
Date of publication
2016-08-03 17:55:25
Maintainer
Hadley Wickham <hadley@rstudio.com>
License
GPL (>= 2) | file LICENSE
Version
1.0.0
URLs

View on CRAN

Man pages

callback
Callback classes
cols
Create column specification
count_fields
Count the number of fields in each line of a file.
datasource
Create a source object.
date_names
Create or retrieve date names
encoding
Guess encoding of file.
locale
Create locales
parse_atomic
Parse character vector in an atomic vector.
parse_datetime
Parse a character vector of dates or date times.
parse_factor
Parse a character vector into a factor
parse_guess
Parse a character vector into the "best" type.
parse_number
Extract numbers out of an atomic vector
parse_vector
Parse a character vector.
problems
Retrieve parsing problems.
read_delim
Read a delimited file into a data frame.
read_delim_chunked
Read a delimited file by chunks
read_file
Read a file into a string.
read_fwf
Read a fixed width file.
read_lines
Read lines from a file or string.
read_lines_chunked
Read lines from a file or string by chunk.
read_log
Read common/combined log file.
read_rds
Read object from RDS file.
readr_example
Get path to readr example
read_table
Read text file where columns are separated by whitespace.
spec
Examine the column specifications for a data frame
spec_delim
Retrieve the column specification of a file.
tokenize
Tokenize a file/string.
Tokenizers
Tokenizers.
type_convert
Re-convert character columns in existing data frame.
write_delim
Save a data frame to a delimited file.
write_lines
Write lines/ a file
write_rds
Write a single R object to file

Files in this package

readr
readr/inst
readr/inst/extdata
readr/inst/extdata/challenge.csv
readr/inst/extdata/fwf-sample.txt
readr/inst/extdata/mtcars.csv.bz2
readr/inst/extdata/mtcars.csv
readr/inst/extdata/mtcars.csv.zip
readr/inst/extdata/massey-rating.txt
readr/inst/extdata/compound.log
readr/inst/extdata/example.log
readr/inst/extdata/epa78.txt
readr/inst/doc
readr/inst/doc/locales.html
readr/inst/doc/column-types.R
readr/inst/doc/locales.Rmd
readr/inst/doc/column-types.Rmd
readr/inst/doc/locales.R
readr/inst/doc/column-types.html
readr/tests
readr/tests/testthat.R
readr/tests/testthat
readr/tests/testthat/test-encoding.R
readr/tests/testthat/eol-lf.csv
readr/tests/testthat/test-parsing-datetime.R
readr/tests/testthat/test-parsing-count-fields.R
readr/tests/testthat/test-locale.R
readr/tests/testthat/enc-iso-8859-1.txt
readr/tests/testthat/test-parsing-time.R
readr/tests/testthat/eol-cr.csv
readr/tests/testthat/test-write-lines.R
readr/tests/testthat/test-parsing-logical.R
readr/tests/testthat/null-file
readr/tests/testthat/basic-df.csv
readr/tests/testthat/sample_text.txt
readr/tests/testthat/empty-file
readr/tests/testthat/test-read-csv.R
readr/tests/testthat/test-read-file.R
readr/tests/testthat/test-write-delim.R
readr/tests/testthat/test-parsing-character.R
readr/tests/testthat/eol-crlf.txt
readr/tests/testthat/eol-crlf.csv
readr/tests/testthat/test-read-fwf.R
readr/tests/testthat/test-parsing-numeric.R
readr/tests/testthat/fwf-trailing.txt
readr/tests/testthat/eol-cr.txt.gz
readr/tests/testthat/test-col-spec.R
readr/tests/testthat/eol-cr.txt.bz2
readr/tests/testthat/test-read-chunked.R
readr/tests/testthat/eol-cr.txt.xz
readr/tests/testthat/test-read-lines.R
readr/tests/testthat/test-parsing-factors.R
readr/tests/testthat/raw.csv
readr/tests/testthat/eol-cr.txt
readr/tests/testthat/test-tokenizer-delim.R
readr/tests/testthat/test-type-convert.R
readr/tests/testthat/test-collectors.R
readr/tests/testthat/test-eol.R
readr/tests/testthat/eol-lf.txt
readr/tests/testthat/test-parsing.R
readr/tests/testthat/eol-cr.txt.zip
readr/tests/testthat/test-problems.R
readr/src
readr/src/SourceFile.h
readr/src/parse.cpp
readr/src/read.cpp
readr/src/TokenizerDelim.cpp
readr/src/boost.h
readr/src/type_convert.cpp
readr/src/grisu3.c
readr/src/tzfile.h
readr/src/write.cpp
readr/src/Source.cpp
readr/src/Reader.h
readr/src/Source.h
readr/src/Collector.h
readr/src/SourceRaw.h
readr/src/TokenizerLine.h
readr/src/localtime.h
readr/src/LocaleInfo.h
readr/src/Tokenizer.h
readr/src/DateTime.cpp
readr/src/SourceString.h
readr/src/Collector.cpp
readr/src/TokenizerFwf.cpp
readr/src/LocaleInfo.cpp
readr/src/Progress.h
readr/src/localtime.c
readr/src/write_delim.cpp
readr/src/Iconv.cpp
readr/src/utils.h
readr/src/Tokenizer.cpp
readr/src/TokenizerFwf.h
readr/src/connection.cpp
readr/src/Iconv.h
readr/src/Reader.cpp
readr/src/grisu3.h
readr/src/DateTimeParser.h
readr/src/QiParsers.h
readr/src/Token.h
readr/src/TokenizerDelim.h
readr/src/Warnings.h
readr/src/DateTime.h
readr/src/Makevars.win
readr/src/RcppExports.cpp
readr/src/CollectorGuess.cpp
readr/src/TokenizerLog.h
readr/NAMESPACE
readr/NEWS.md
readr/R
readr/R/write.R
readr/R/locale.R
readr/R/count_fields.R
readr/R/utils.R
readr/R/date-symbols.R
readr/R/read_rds.R
readr/R/write_lines.R
readr/R/read_delim.R
readr/R/collectors.R
readr/R/example.R
readr/R/POSIXct.R
readr/R/read_lines_chunked.R
readr/R/read_table.R
readr/R/encoding.R
readr/R/sysdata.rda
readr/R/problems.R
readr/R/type_convert.R
readr/R/read_delim_chunked.R
readr/R/RcppExports.R
readr/R/col_types.R
readr/R/input.R
readr/R/read_fwf.R
readr/R/source.R
readr/R/read_lines.R
readr/R/callback.R
readr/R/read_log.R
readr/R/zzz.R
readr/R/tokenizer.R
readr/vignettes
readr/vignettes/locales.Rmd
readr/vignettes/column-types.Rmd
readr/README.md
readr/MD5
readr/build
readr/build/vignette.rds
readr/DESCRIPTION
readr/man
readr/man/problems.Rd
readr/man/locale.Rd
readr/man/parse_datetime.Rd
readr/man/read_lines.Rd
readr/man/spec.Rd
readr/man/spec_delim.Rd
readr/man/read_lines_chunked.Rd
readr/man/datasource.Rd
readr/man/parse_guess.Rd
readr/man/parse_factor.Rd
readr/man/write_lines.Rd
readr/man/Tokenizers.Rd
readr/man/read_delim.Rd
readr/man/cols.Rd
readr/man/read_log.Rd
readr/man/write_delim.Rd
readr/man/read_file.Rd
readr/man/encoding.Rd
readr/man/read_rds.Rd
readr/man/read_table.Rd
readr/man/write_rds.Rd
readr/man/callback.Rd
readr/man/count_fields.Rd
readr/man/parse_atomic.Rd
readr/man/date_names.Rd
readr/man/parse_vector.Rd
readr/man/tokenize.Rd
readr/man/readr_example.Rd
readr/man/parse_number.Rd
readr/man/type_convert.Rd
readr/man/read_delim_chunked.Rd
readr/man/read_fwf.Rd
readr/LICENSE