austraits
Helpful functions to access the AusTraits database and wrangle data from other traits.build databases
The R client for AusTraits spends its releases chasing the dataset it reads.
◆Recent moves
- 2y ago
Support for AusTraits 5.0.0 data and the rebuilt Zenodo API
Adds version switching so trait_pivot_wider, join, as_wide_table, extract_ and trait_pivot_longer each dispatch on the detected data version, allowing v4.x and v5.0.0 data to coexist. It also repairs the download feature after Zenodo changed its record URLs, id semantics and JSON format. Substantial work, but all of it is upstream compatibility rather than new capability.
View source ↗ - 3y ago
extract_taxa, lookup_trait and print methods arrive
The 1.0.0 milestone adds extract_taxa, lookup_trait, print_versions, print_austraits and summarise_trait_means, filling out the discovery and inspection side of the API. Backfilled to GitHub two years late, which is why it sits out of order against the 2.x tags around it.
View source ↗ - 3y ago
Vignette build and extract_ function polish
Vignette build process, extract_ function polish and a website rebuild. Housekeeping, backfilled alongside the other two tags in the same 23-minute window.
View source ↗ - 3y ago
site becomes location across the API; AusTraits 3.0.2+ support
Renames site to location throughout — functions, arguments and the austraits$sites object itself — with deprecation shims on plot_site_locations and join_sites, and extends roughly fifteen functions to work with AusTraits above v3.0.2 while retaining support below it. The dual-version support here is the pattern that 2.2.2 later formalises into explicit version switches.
View source ↗