nzffdr_clean | R Documentation |
Clean up data imported from the NZ Freshwater Fish Database.
nzffdr_clean(fishd)
fishd |
a dataframe imported from the NZFFD using |
Cleans up a few inconsistencies in the NZFFD data returned from
nzffd_import()
. Column types are checked and converted to, integer,
numeric or character. Empty cells are filled with NA, variable 'catchmentName'
entries are standardised (e.g. Clutha r, Clutha River and Clutha R all
become Clutha R) and, any empty columns are removed.
A cleaned NZFFD dataframe.
nzffdr_clean(nzffdr::nzffdr_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.