View source: R/IGRA_interface.R
clean_IGRA_v1 | R Documentation |
Turn NCDC raw IGRA v1 data into an R dataframe
clean_IGRA_v1(file, type)
file |
character strings; Path to a file. The file extension should be one of ".y2d", ".dat", ".mly" and ".mly.201607". |
type |
(optional) character; one of "y2d", "dat" and "mly". The function will make a simple guess based on the filename if this is not provided. |
a dataframe.
## Not run: path <- system.file("extdata//v1", package = "cleanIGRA") data0 <- clean_IGRA_v1(file.path(path, '61902.y2d')) data0 <- clean_IGRA_v1(file.path(path, '07139.dat')) data0 <- clean_IGRA_v1(file.path(path, 'vwnd_12z.mly.201607')) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.