get_keyword: Get the keyword from an input-file line.

View source: R/input_file_utils.R

get_keywordR Documentation

Get the keyword from an input-file line.

Description

Get the keyword from an input-file line.

Usage

get_keyword(infile, line_num)

Arguments

infile

a tibble created by get_input_file.

line_num

line number in the input file.

Value

A character vector containing the keyword; NA if no keyword is present.

Examples

* infile <- get_input_file() select input file interactively.
* keyword <- get_keyword(infile,3) gets the keyword from
  line 3 of the selected file.


tabrasel/WetlandTools documentation built on Dec. 20, 2024, 8:50 a.m.