clean_cte501 | R Documentation |
Clean RecFIN data to provide data in a similar format with consistent
column names and values. For example, states are standardized to be
state abbreviations rather than single letters or full names and are
available in the column called state
.
clean_cte501(data) clean_mrfss(data)
data |
A data frame. |
A data frame with standardized columns.
MRFSS data is incomplete and will not contain information for the years 1990 to 1992. Most often, linear interpolation is performed to estimate catches during these years because it can be assumed that they were not zero if the surrounding years were also non-zero.
todo: create a function to estimate catches for 1990-1922
6: California
41: Oregon
53: Washington
Washington: Canada-US border to Washington-Oregon border
Oregon: Washington-Oregon border to Oregon-California border
Northern California: North of Point Conception and south of Oregon-California border
Southern California: South of Point Conception
Kelli Faye Johnson
See the data object recfin_coldefs
for more complete descriptions of
column names and their contents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.