The Swedish Museum for Natural History manages bird ringing data in Sweden. This R package - swedishbirdrecoveries
- provides a programmatic interface to Swedish Bird Recovery data.
https://birdrecoveries.nrm.se/ (2021-02-02)
Stakeholders and their needs:
Needs to manage the data internally and externally.
Can participate in the process and develop the package further. Can control which data is made public and update frequency. Can also use the package to work with internal data in the same format.
Needs access to the data for scientific use.
Can install and use an R-package with datasets and visuals (see installation instructions below).
Needs web-friendly way to look at the data.
Can use a web user interface to explore the data with no installation required, by browsing to a server which has deloyed this package.
Can use a DINA-Web application such as The Naturalist, which can link to the data in relevant presentation formats.
Needs to aggregate and disseminate the data internationally and nationally.
Can be achieved by ensuring that data can flow to GBIF via DINA-Web for international and national use, which will enable that data can be made available at nrm.se/psi-data, in line with the Museum's mission and regulations.
You can get started by installing from Github:
install.packages("devtools")
devtools::install_github("Naturhistoriska/swedishbirdrecoveries")
# load the package
library(swedishbirdrecoveries)
The data include several dimensions:
- Species
- Ringing date
- Ringing position
- Ringing age category
- Sex
- Recovery date
- Recovery position
Search for recoveries that has occurred within a specific time period (begin - end for original ringing and recovery dates) - this can be used to study seasonality and which recoveries happen in the same season...
Recaptures made within less than 10 km from the original ringing location are by default not returned.
Search for recoveries with known recovery date by season and get average position by species.
Study the perentage of recoveries for species that are shot across countries or regions.
Given recoveries per species, what would a kernel look like?
TODO: write section here
- Please report any requests, issues or bugs
- Older issues, see this repo.
- License: Affero GPL v3
/usr/local/lib/R/site-library/swedishbirdrecoveries/shiny-apps/birdrecoveries
Matomo is used for tracking/analytics since april 2020, see more at -> https://matomo.org/
2022-03-07 ->Matomo is running on the matomo.dina-web.net
ui.R holds the matomo7april.html
# IE: adding 'matotomo tracking-id'
dashBody <- dashboardBody(
tags$head(
tags$head(includeHTML(("matomo7april.html"))),
tags$style(type = "text/css", "#mapbox { height: 80vh !important; }"),
tags$style(type = "text/css", "#birdmap { height: 75vh !important; }")),
uiOutput("tab_box")
)
contents of the matomo7april.html
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.dina-web.net/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->