isd_parse {isdparser} | R Documentation |
Parse NOAA ISD/ISH data files
Description
Parse NOAA ISD/ISH data files
Usage
isd_parse(
path,
additional = TRUE,
parallel = FALSE,
cores = getOption("cl.cores", 2),
progress = FALSE
)
Arguments
path |
(character) file path. required |
additional |
(logical) include additional and remarks data sections
in output. Default: |
parallel |
(logical). do processing in parallel. Default: |
cores |
(integer) number of cores to use: Default: 2. We look in your option "cl.cores", but use default value if not found. |
progress |
(logical) print progress - ignored if |
Value
A tibble (data.frame)
References
ftp://ftp.ncdc.noaa.gov/pub/data/noaa
See Also
Examples
path <- system.file('extdata/104270-99999-1928.gz', package = "isdparser")
(res <- isd_parse(path))
# with progress
(res2 <- isd_parse(path, progress = TRUE))
# only control + mandatory sections
(res <- isd_parse(path, additional = FALSE))
## Not run:
# in parallel
(out <- isd_parse(path, parallel = TRUE))
## End(Not run)
[Package isdparser version 0.4.0 Index]