Description Usage Arguments Details See Also
Clean by fixing data entry errors, and standardizing value formats
1 2 | clean.format(X, reg = c("ai", "ebs", "gmex", "goa", "neus", "newf", "ngulf",
"sa", "sgulf", "shelf", "wcann", "wctri"))
|
X |
a |
reg |
a region; should be one of the following: |
It is this function that makes specific corrections for data entry errors. For example, in one region a tow duration of 3 should have been 30. In another region some of the effort
values were entered as 0
or NA
, but should have had a particular value.
This function also ensures that longitude and latitude are in the same format among regions.
Other data entry errors or necessary corrections are implemented here, too.
Dates are not thoroughly formatted here, except in some cases where getting a year
, e.g., requires parsing values out of other columns. POSIX class dates not created.
clean.names
, clean.format
, clean.columns
, clean.tax
clean.trimRow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.