Biodiversity data hosted on datos.gbif.es ready to work with R software

In order to support the scientific community, that needs powerful tools to manage, visualize and analyze ecology and biodiversity data, GBIF.ES has configured the ALA4R module on the Spanish Living Atlas.

ALA4R is an R programming language package, originally developed by Ben Raymond (Australian Antarctic Division), which enables the R community to directly access data and resources hosted by different data portals based on the ALA technology. This is the case of the Spanish Biodiversity Data Portal. The package enables access to different kind of data, such as species observations, which can be visualized and exported in a variety of standard formats, allowing running extensive analysis in R programming language.

To be able to use information from the National Data Portal (https://datos.gbif.es/) through the ALA4R package, you will need to make some configurations, as we detail below:

server_config <- list(
   max_occurrence_records = 500000,
   server_max_url_length = 8150,
   brand = "ALA4R",
   notify = "Please use https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or email to support@ala.org.au",
   support_email = "infogbifspain@gmail.com",
   reasons_function = "ala_reasons",
   fields_function = "ala_fields",
   occurrences_function = "occurrences",
   config_function = "ala_config",
   base_url_spatial = "https://geo-ws.gbif.es/layers-service",
   base_url_bie = "https://especies-ws.gbif.es",
   base_url_biocache = "https://registros-ws.gbif.es/",
   base_url_images = "https://images.gbif.es/",
   base_url_logger = "https://logger.gbif.es/service/logger",
   biocache_version = "2.1.15",
   verbose = TRUE,
   download_reason_id = 10,
   caching = "off"
)
if (!"ALA4R_server_config" %in% names(options())) {
   message("\nNo existing ALA4R server config, using Spanish data sources...\n")
   options(ALA4R_server_config = server_config)
} else {
   message("Overwriting existing ALA server config with new...")
   options(ALA4R_server_config = server_config)
}
message("\n*** Successfully loaded .Rprofile ***\n")