read_binary: Reads a binary weather file

View source: R/read_binary.R

read_binaryR Documentation

Reads a binary weather file

Description

Reads a binary weather file

Usage

read_binary(file_path, num_vars = 8, hist, id = NULL)

Arguments

file_path

path to file location

num_vars

number of variables in data set either 8 or 4 (default 8)

hist

boolean representing time frame of data TRUE for historical FALSE for future if missing hist will be detected in file path

id

Either a string or 'NULL'. If a string, the output will contain a variable with that name with the filename(s) as the value. If 'NULL', the default, no variable will be created.

Value

a data frame with date and either 4 or 8 environmental variables


pruettm/agclimtools documentation built on Aug. 8, 2022, 10:21 a.m.