exclude_corrupt | R Documentation |
This function screens vector of FVCOM file names in a dataframe and removes any rows which refer to the names of known corrupt files (as defined by the user). This is an important check prior to loading multiple FVCOM files into R.
exclude_corrupt(dat, corrupt = NULL)
dat |
A dataframe (e.g. containing information necessary to extract FVCOM predictions). The only requirement is an integer column named 'date_name' which contains the 6 digit code of FVCOM file names (see |
corrupt |
A vector of integers which define the 6 digit code of any corrupt FVCOM files. |
A dataframe, as inputted, but in which any rows associated with corrupt FVCOM files have been excluded. If rows have been excluded, the function returns a warning.
Edward Lavender
This check is implemented by extract
.
## Not run: exclude_corrupt(data.frame(date_name = c(160301, 160302, 160303)), 160301) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.