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


bpbond/gcamdata documentation built on March 22, 2023, 4:52 a.m.