Species website, development version
ABMI Science Centre development website
Latest data summaries and model results for review before publishing on
data portal.
2585 species and counting:
Mammals and birds are reviewed on an opt in basis, meaning that we only present
results for species where we are confident in the models due to higher scrutiny for these
species. Other groups are opt out, meaning that we do not present results for species
where we are not confident.
The website is built on Vue and Nuxt
using the Vuetify component library.
See package.json
for version information.
The static page generation utilizes dynamic routes based on the
species API.
Pages consume the data fetched from the API.
The TOC pages for each species group and the individual species pages
use their own components to display the information and images.
The species pages contain a comments section.
Comments by species can be reviewed here.
https://science.abmi.ca/results/reports/2020/images/
The JSON blob at the API root contains the taxa
and species
properties.taxa
lists the species groups (as displayed in the left drawer of the web app).species
lists the individual species (all taxa combined).
https://science.abmi.ca/results/reports/2020/images/${taxon}/
The taxon endpoint lists all the species within a particular taxon only
(see example).
https://science.abmi.ca/results/reports/2020/images/${taxon}/${species}/
The species endpoint lists the images (results) available
for a particular species (see example).
The images listed in the species blob can be found at the same path
as the species endpoint:
det.png
: detection mapuseavail-north.png
and useavail-south.png
: use-availabilitycoef-north.png
, coef-south.png
: land cover associationssector-north.png
, sector-south.png
: sector effectspred.png
: predictive maps
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate