knitr::opts_chunk$set(
  dpi = 600,
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  warning = FALSE,
  message = FALSE 
)

nzffdr

CRAN status R-CMD-check CRAN RStudio mirror downloads R-CMD-check

Package overview

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

Installation

install.packages("nzffdr")

Development version

To install the latest development version install from GitHub.

devtools::install_github("flee598/nzffdr")

Import data from the NZFFD

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()


flee598/nzffdr documentation built on Jan. 8, 2025, 1:31 p.m.