galaxias
  • R package
  • Python package

galaxias

galaxias is an interface designed to simplify the process of converting biodiversity data into Darwin Core Archives (DwCA), facilitating data submission to infrastructures such as the Atlas of Living Australia (ALA) or the Global Biodiversity Information Facility (GBIF).

If you have any questions, comments, or spot any bugs, email us or report an issue in the R package or the Python package on our GitHub page.

library(galaxias)

# standardise data
my_data_dwc <- df |>
  set_occurrences(occurrenceID = composite_id(location_id, 
                                              sequential_id()),
                  basisOfRecord = "humanObservation") |> 
  set_coordinates(decimalLatitude = latitude, 
                  decimalLongitude = longitude) |>
  set_locality(country = "Australia", 
               locality = "Canberra") |>
  set_scientific_name(scientificName = species, 
                      taxonRank = "species") |>
  set_taxonomy(kingdom = "Animalia", 
               phylum = "Aves")

use_data(my_data_dwc)        # add to directory

# build metadata
use_metadata_template("metadata.Rmd")
use_metadata("metadata.Rmd") # add to directory

# package for release
build_archive("my_dwca.zip") # convert to DwCA
check_archive("my_dwca.zip") # validate with GBIF quality checks
submit_archive()             # open submission page
import galaxias

# initialise your dwca object - this will create your metadata
my_dwca = galaxias.dwca(occurrences=df,dwca_name = 'my_dwca.zip')

# standardise data
my_dwca.set_occurrences(occurrenceID = ['location_id','sequential'],
            basisOfRecord = 'humanObservation')
my_dwca.set_coordinates(decimalLatitude = 'latitude',
            decimalLongitude = 'longitude')
my_dwca.set_locality(country = 'Australia',
           Locality = 'Canberra')
my_dwca.set_scientific_name(scientificName = 'species',
              taxonRank = 'species')
my_dwca.set_taxonomy(kingdom = 'Animalia',
           Phylum = 'Aves')

# build metadata
my_dwca.write_eml()      # add to directory

# package for release
my_dwca.build_archive()  # convert to DwCA
my_dwca.check_archive()  # validate with GBIF quality checks
my_dwca.submit_archive() # open submission page

Atlas of Living Australia

  • Copyright

  • License

  • Terms of Use

  • Support