read_txt_file_inmet: Read ASCII data file of INMET's automatic weather stations

Description Usage Arguments Details Value

Description

Read ASCII data file of INMET's automatic weather stations

Usage

1
2
read_txt_file_inmet(.file, .verbose = TRUE, .only.problems = FALSE,
  .full.names = FALSE)

Arguments

.file

path to file

.verbose

logical value, when it is set to TRUE show warnings and messages

.only.problems

logical value. Set TRUE to report problems, FALSE to return meteorological data

.full.names

a logical value. If TRUE, the directory path is prepended to the file names to give a relative file path. If FALSE, the file names (rather than paths) are returned.

Details

When only.problems is TRUE a data frame with one row for each problem found for every file. When the files do not have any problem the data frame is returned empty (0 rows).

Value

A data frame with one row for each problem and four columns:

row,col

Row and column of problem

expected

What readr expected to find

actual

What it actually got

file

file name or the path to file (if .full.names is TRUE)


lhmet/inmetwrangler documentation built on May 15, 2019, 1:42 p.m.