knitr::opts_chunk$set( dpi = 600, collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", warning = FALSE, message = FALSE )
The purpose of this package is to allow for direct access to the NZ Freshwater Fish Database (NZFFD) from R and additional functions for cleaning imported data and adding missing data.
For a detailed guide to using the package see the help page.
A preprint describing the package is now available (if you wish to cite the package please use this):
Lee, F., & Young, N. (2021). nzffdr: an R package to import, clean and update data from the New Zealand Freshwater Fish Database. bioRxiv. https://doi.org/10.1101/2021.06.22.449519
install.packages("nzffdr")
To install the latest development version install from GitHub.
devtools::install_github("flee598/nzffdr")
This function requires an internet connection to query the NZFFD database.
# import all records library(nzffdr) dat <- nzffdr_import(download_format = "essential") head(dat) # To import the entire NZFF Database: # dat <- nzffd_import()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.