Skip to contents

Accessing and exploring the database

load_austraits()
Load AusTraits database into R console
get_compiled_by_traits.build()
Retrieve compiled by information from metadata table
get_traits_table()
Retrieve traits table if user passes traits.build object.
get_version_latest()
Retrieve the latest version of AusTraits
get_versions()
Print out AusTraits versions
summarise_database()
Summarise counts for a particular variable of interest
lookup_context_property()
Look up context properties
lookup_location_property()
Look up location properties
lookup_trait()
Look up a particular trait term

Filter from the database

extract_data()
Extract data from traits.build database
extract_dataset()
Extract all data for a particular dataset
extract_taxa()
Extract all data for specific taxa
extract_trait()
Extract all data for specific traits

Join data to traits table

join_context_properties()
Joining context properties to traits table
join_contributors()
Joining data contributor metadata to traits table
join_location_coordinates()
Joining location coordinates to traits table
join_location_properties()
Joining location properties to traits table
join_methods()
Joining methodological information to traits table
join_taxa()
Joining taxonomy to traits table
join_taxonomic_updates()
Joining taxonomic updates information to traits table

Reshape traits table

trait_pivot_longer() deprecated
Pivot wide format traits table into long format
trait_pivot_wider()
Pivot long format traits table into wide format
join_context_properties()
Joining context properties to traits table
join_contributors()
Joining data contributor metadata to traits table
join_location_coordinates()
Joining location coordinates to traits table
join_location_properties()
Joining location properties to traits table
join_methods()
Joining methodological information to traits table
join_taxa()
Joining taxonomy to traits table
join_taxonomic_updates()
Joining taxonomic updates information to traits table
bind_trait_values()
Bind trait values
separate_trait_values()
Separate bounded trait values

Reshape database(s)

as_wide_table()
Create a single wide table from a traits.build data object
flatten_database()
Create combined traits.build table
bind_databases()
Bind multiple traits.build data objects into a single data object

Quick data visualisations

Plot site or variance distributions

plot_locations()
Produce location maps of trait values
plot_site_locations() deprecated
Produce location maps of trait values
plot_trait_distribution_beeswarm()
Beeswarm Trait distribution

Helpful functions

convert_df_to_list()
Convert dataframe to list
convert_list_to_df1()
Convert list with single entries to dataframe
convert_list_to_df2()
Convert list of lists to dataframe
print(<traits.build>)
Generic for outputting a nice summary for austraits objects