View source: R/IGRA_interface.R
clean_IGRA_v2 | R Documentation |
Turn NCDC raw IGRA v2 data into an R dataframe
clean_IGRA_v2(file, type)
file |
character strings; Path to a file. The file extension should be a ".txt" file. |
type |
(optional) character; one of "data", "drvd" 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//v2", package = "cleanIGRA") data0 <- clean_IGRA_v2(file.path(path, 'ASM00094703-data.txt')) data0 <- clean_IGRA_v2(file.path(path, 'AGM00060490-drvd.txt')) data0 <- clean_IGRA_v2(file.path(path, 'vapr_12z-mly-201906.txt')) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.