read.gaugeInfo: Read CAMELS river gauge information file.

View source: R/read.gaugeInfo.R

read.gaugeInfoR Documentation

Read CAMELS river gauge information file.

Description

A file reader for the CAMELS river gauge information file. Provides correct header (as of June 2019) and uses read.table with specific parameters to ensure the file is read correctly.

Usage

read.gaugeInfo(filename, altheader = FALSE)

Arguments

filename

filepath/name of CAMELS gauge_information.txt file

altheader

alternative header for applying to DataFrame columns

Value

DataFrame of river gauge info

Author(s)

Leland Scantlebury

Examples

  gauges <- read.gaugeInfo('basin_dataset_public_v1p2/basin_metadata/gauge_information.txt')

scantle/caRmels documentation built on Dec. 10, 2022, 8:13 a.m.