importAttributes: Imports/combines CAMELS attribute files (see N. Addor et al.,...

View source: R/importAttributes.R

importAttributesR Documentation

Imports/combines CAMELS attribute files (see N. Addor et al., 2017)

Description

Reads in all CAMELS attribute text files and returns a data frame (or list) of the data

Usage

importAttributes(folder, attrSubset = NULL, returnList = FALSE)

Arguments

folder

path/name of folder with CAMELS attribute text files

attrSubset

string vector of attribute file types to import (e.g. 'soil')

returnList

Bool, return list of data by file instead of data frame?

Value

dataframe or list of dataframes

Author(s)

Leland Scantlebury

Examples

basinPar <- importAttributes('camels_attributes_v2.0')

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