find_header: find_header

View source: R/utils.R

find_headerR Documentation

find_header

Description

Read a file line-by-line to find how far its header extends, and return it.

Usage

find_header(fqfn)

Arguments

fqfn

Fully qualified filename, character

Value

The header as a character vector.

Note

Headers are defined as consecutive lines beginning with "#" at the top of a file.

Author(s)

Alexey Shiklomanov


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.