read.any: Read Any

Description Usage Arguments Value Examples

Description

Flexible read function which also handles conversion to data types, and common data cleaning tasks.

Usage

1
2
3
read.any(path, folder = NULL, sheet = 1, do.time = FALSE,
  min.acceptable.date = "1-1-1900", max.acceptable.date = "12-31-2100",
  nastrings = bc::nastrings)

Arguments

path

Path to file within a folder, or full path.

folder

Folder to look for path in, if applicable.

sheet

If an excel file, the sheet to load.

do.time

Allow processing to time values.

min.acceptable.date

Set to NULL to ignore. Sometimes numbers are assumed to be excel-formatted. One way to prevent this is to set min/max acceptable dates to help the conversion know if something is a meaningful data or not.

max.acceptable.date

Set to NULL to ignore. Sometimes numbers are assumed to be excel-formatted. One way to prevent this is to set min/max acceptable dates to help the conversion know if something is a meaningful data or not.

Value

Tibble.

Examples

1
# TODO

superchordate/bc documentation built on June 20, 2019, 4:05 p.m.