Skip to content

nzffdr

2.1.0Package record

Import, Clean and Update Data from the New Zealand Freshwater Fish Database

0packages depend
2.4Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Access the New Zealand Freshwater Fish Database from R and a few functions to clean the data once in R.

Changes in 2.1.0

Fixes associated with NZFFD search issue and some small tidying.

At the moment users should download the entire NZFFD, and then filter records from there. See note below.

NZFFD search issue

  • Following reports of issues associated with using search fields in the NZFFD (see comments on page 4 of the help manual available here: https://niwa.co.nz/information-services/nz-freshwater-fish-database/help), nzffdr_import() now downloads the entire NZFFD by default (previously even when no search terms were entered not all results were being downloaded due to changes to the NZFFD portal).
  • use any of the following to download the entire NZFFD (do not set additional arguments), and then filter in R as needed: nzffdr_import(download_format = "all"), nzffdr_import(download_format = "essential") or nzffdr_razzle_dazzle().

updated functions

  • nzddr_import() & nzffdr_razzle_dazzle() now generate a warning regarding the NZFFD issue.
  • nzffdr_add_dates() now much faster
  • nzffdr_widen_habitat() no longer produces the "In fun_df(xx2, cl) : NAs introduced by coercion" warning by default.

Depreciated functions

Show all changes in 2.1.0Hide the rest of the changes in 2.1.0
  • depreciated functions from nzffdr 2.0.0 have been removed (nzffdr_add() & nzffdr_fill())

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Finnbar Lee <lee.finnbar@gmail.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

CRAN check page ↗

Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.1.0
READMEYes · 137 wordsVignettesNoNEWSYes · 100% structured · mentions 2.1.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
10
Examples that run
63%5 run in a plain check · 3 never run
Exported functions with examples
100%
Documented parameters
93%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.4K
CRAN downloads in the past year
Rank #19,972 · ~7/day · ~202/mo
Daily download trend is not available in this view yet.
24230 days
66190 days
2.4K1 year
Compare downloads with other packages →
Also on60 r2u5 autocran

Repository

2Stars
2Forks
0Open issues
0Open PRs
3Releases
108Commits
3Commit identities
108 commits · Last activity 2025-01-06
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
432
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2020-10-01 · 12026-07-07 · 2
PracticesBeta

7 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/flee598/nzffdr on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-01-06 · The repository has a site deploy workflow

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing nzffdr adds 28 packages (19 with compiled code, 21 MB of source tarballs). Heaviest: stringi 11 MB, openssl 1.1 MB, jsonlite 1.0 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.0.0 (2021)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1.0Latest
    record
    2022-11-08 · current release · diff ↗ ·
    removed 2 exports
    nzffd_add, nzffd_fill
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.0
    record
    2022-01-17 · diff ↗ ·
    removed 2 exports
    nzffd_clean, nzffd_import
    added 8 exports
    nzffdr_add_dates, nzffdr_clean, nzffdr_get_table, nzffdr_import, nzffdr_ind_lengths, nzffdr_razzle_dazzle, nzffdr_taxon_threat, nzffdr_widen_habitat
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.0
    record
    2021-03-09
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-03-09
Total releases
3 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0.0
Bundled data
349 KB / 2 files
Download size
639 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("nzffdr")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1101/2021.06.22.449519.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for nzffdr version 2.1.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy