library(sf)
4 Get data from Atlas by Biodiversité Québec
Below you will find the documentation to access the public data in Atlas by Biodiversité Québec. This includes information on how to access the data, the data structure, and how to use the data in your research.
To open the page in a separate window, click here.
4.1 Retrieving range maps for Quebec species
Use the code below to get the list of species in Quebec available in the database:
<-paste0("SELECT NOM_SCIENT FROM range")
query <- st_read('/vsicurl/https://object-arbutus.cloud.computecanada.ca/bq-io/io/qc_range_maps/qc_range_maps2.gpkg', query=query) species
The use this function to return a sf object with the range map of a specific species:
<-paste0("SELECT * FROM range WHERE NOM_SCIENT='Alces americanus'")
query <- st_read('/vsicurl/https://object-arbutus.cloud.computecanada.ca/bq-io/io/qc_range_maps/qc_range_maps2.gpkg', query=query) rm