read_rdb {inldata} | R Documentation |
Read USGS RDB file
Description
Reads a RDB (Relational Database) file in table format and creates a data frame from it. The USGS (U.S. Geological Survey) RDB file is a variant of a tab-delimited ASCII file structure.
Usage
read_rdb(file, na_strings = "")
Arguments
file |
'character' string. Path to file which the data are to be read from. |
na_strings |
'character' vector.
Strings which are interpreted as |
Value
A data frame containing a representation of the data in the file.
Author(s)
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
Examples
file <- system.file("extdata", "test.rdb", package = "inldata")
d <- read_rdb(file)
str(d)
[Package inldata version 1.2.7 Index]