rd_help: Thin and extended functionality wrappers of 'readr'...

View source: R/rd.R

rd_helpR Documentation

Thin and extended functionality wrappers of readr functions.

Description

Read the clipboard and rectangular, delimited data files, prompting user to choose a file if no file name/path is provided.

Usage

rd_help()

rd_xsv(d = NULL, type = "data file", file = NULL, ...)

rd_csv(type = "data file", file = NULL, ...)

rd_tsv(type = "data file", file = NULL, ...)

rd_clip()

Arguments

d

Either NULL or a complete onechar scalar text delimiter.

type

A complete string scalar describing the type of file to be read.

file

Either NULL or a complete character vector that resolves to a file path. When file = NULL the user is asked to select a file using a system dialog box.

Functions

  • rd_xsv(): Extends read_delim by prompting the user to select a file. Returns a data frame.

  • rd_csv(): Extends read_csv by prompting the user to select a file. Returns a data frame.

  • rd_tsv(): Extends read_tsv by prompting the user to select a file. Returns a data frame.

  • rd_clip(): Thinly wraps clipboard. Return value depends on the contents of the clipboard.

See Also

Other wraps: basics_help(), dp(), dt(), gg_help(), gr, tb_help()

Other files: paths_help(), read_rct_delim()


j-martineau/uj documentation built on Sept. 14, 2024, 4:40 a.m.