isd_read: Function to read ISD data files.

View source: R/isd_read.R

isd_readR Documentation

Function to read ISD data files.

Description

Function to read ISD data files.

Usage

isd_read(
  file,
  priority = FALSE,
  longer = FALSE,
  parallel = FALSE,
  verbose = FALSE
)

Arguments

file

Vector of file names.

priority

Should only a selected priority group of variables be returned?

longer

Should the observations be reshaped to be in "long" format?

parallel

Should files be read in parallel? If TRUE, a futures back-end must be registered.

verbose

Should the function give messages?

Value

Tibble.

Author(s)

Stuart K. Grange.

See Also

ISD

Examples


# Load an example data file
isd_read(
  "https://www.ncei.noaa.gov/data/global-hourly/access/2020/11290099999.csv"
)

# Load an example data file and clean it a bit
isd_read(
  "https://www.ncei.noaa.gov/data/global-hourly/access/2020/11290099999.csv",
  priority = TRUE
)


skgrange/isdr documentation built on June 25, 2022, 6:21 a.m.