isd_parse | R Documentation |
Parse NOAA ISD/ISH data files
isd_parse( path, additional = TRUE, parallel = FALSE, cores = getOption("cl.cores", 2), progress = FALSE )
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 |
A tibble (data.frame)
ftp://ftp.ncdc.noaa.gov/pub/data/noaa
isd_parse_line
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.