Migration Traffic Rate Calculation Package for 'Birdscan MR1' Radars
Overview
Extract data from 'Birdscan MR1' 'SQL' vertical-looking radar databases, filter, and process them to Migration Traffic Rates (#objects per hour and km) or density (#objects per km3) of, for example birds, and insects. Object classifications in the 'Birdscan MR1' databases are based on the dataset of Haest et al. (2021) doi:10.5281/zenodo.5734960). Migration Traffic Rates and densities can be calculated separately for different height bins (with a height resolution of choice) as well as over time periods of choice (e.g., 1/2 hour, 1 hour, 1 day, day/night, the full time period of observation, and anything in between). Two plotting functions are also included to explore the data in the 'SQL' databases and the resulting Migration Traffic Rate results. For details on the Migration Traffic Rate calculation procedures, see Schmid et al. (2019) doi:10.1111/ecog.04025.
- Added functionality: The function 'computeDensity()' was added to calculate the density (expressed as #objects / km3). Note that this function only works for Birdscan MR1 database versions \>= 1.7.0.4 as the variable feature37.speed is required for the density calculation (#40{.uri}).
- Added functionality: The function 'getBatClassification()' was added to get the data from the MR1 SQL tables 'bat_classification' and 'bat_class_probability'. The function 'extractDbData()' was updated to also extract the bat classification results using the prior function (#36{.uri}).
- Added functionality: The function 'reclassToBats()' was added to change the class of the echoes to 'bat' for those having a classification probability higher than a specified threshold (#36{.uri}).
- Added functionality: The 'feature37.speed' from the new Birdscan software v 1.7 is now also being extracted when calling the function 'getCollectionTable()' (#39{.uri}).
- Bug fix: Conditional 'if (exists("mtrDayNight", envir = environment()))' caused bug in 'computeMTR()' function when variable was already defined in a user script (i.e., outside of the package). This has been fixed (#38{.uri}).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-09
- ERROR13 OK, 1 ERROR2026-03-10
Documentation
- Help pages
- 32
- Examples that run
- 7%2 run in a plain check · 28 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- birdscanR HTML
Downloads
Repository
- PRs merged (all time)
- 76%
- Median days to close, 50 most recently updated closed issues
- 159
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/birdscancommunity/birdscanr on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-06-23 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.3.0Latest2024-07-05 · current release · diff ↗ ·
added 3 exports
computeDensity, getBatClassification, reclassToBats - RR 4.4.0 released · 2024-04-24
- 0.2.02023-10-06 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.22023-02-17
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-02-17
- Total releases
- 3 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 0.5 KB / 2 files
- Download size
- 502 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("birdscanR")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.