Building a dataset or compilationFunctions that can be used when building individual datasets and entire compilation. |
|
|---|---|
Update the |
|
Add version information to a database |
|
Run a database repository's post-build step |
|
Run a database repository's export step |
|
Write a built database to |
|
Apply taxonomic updates to a processed dataset |
|
Apply taxonomic updates to a processed dataset |
|
Build dataset |
|
Configure AusTraits database object |
|
Load Dataset |
|
Build reports for listed datasets |
|
Load schema for an traits.build data compilation (excluding traits) |
|
Make unit conversion functions |
|
Get SHA string from Github repository for latest commit |
|
Retrieve version for compilation from definitions |
|
Depositing a releaseFunctions that deposit a release of a database on Zenodo. |
|
Zenodo deposit metadata for a database release |
|
Compare a Zenodo version's metadata with the previous version's |
|
Deposit a database release on Zenodo as a draft |
|
Creating metadata filesFunctions that help you create metadata files. |
|
Test whether specified |
|
Find the rows that stop a dataset pivoting wider |
|
Create a template of file |
|
Check the output of running |
|
For specified |
|
For specified |
|
For specified |
|
Adds citation details to a metadata file for given study |
|
Adds citation details from a doi to a metadata file for a |
|
Convert the |
|
Add a categorical trait value substitution into a metadata file for a |
|
Add a dataframe of trait value substitutions into a metadata file for a dataset_id |
|
Substitutions from a dataframe |
|
Add a taxonomic change into the |
|
Add a list of taxonomic updates into a metadata file for a |
|
Find |
|
Remove a taxonomic change from a yaml file for a |
|
Update a taxonomic change into a yaml file for a |
|
Exclude observations in a yaml file for a |
|
Collapse hard-wrapped line breaks in a |
|
Replace disallowed characters in a dataset's files |
|
For specified |
|
Find list of unique datasets within compilation containing specified taxa |
|
Writing custom R codeFunctions for a dataset’s |
|
Move values of one trait into another trait's column |
|
Move values of one trait to another trait, for data in long format |
|
Standardise a messy |
|
Convert |
|
Reading & writing filesEnable reading and writing of various file types. |
|
Read in a csv as a tibble with column types as characters |
|
Read in a |
|
Write |
|
Read yaml (from package yaml) |
|
write yaml (from package yaml) |
|
Export a database as plain text |
|
Working with outputsFunctions to work with compiled traits.build objects. |
|
Identify duplicates preventing pivoting wider |
|
Find values that may duplicate data already in another dataset |
|
Find numeric values far from what other datasets report for the same species |
|
Find numeric values far from what other datasets report for the same genus |
|
Find taxa whose values for a trait are all the same within a dataset |
|
List the categorical values a dataset needs substitutions for |
|
New taxa added by a dataset |
|
Test whether a dataset can pivot wider |
|
Create a single combined table from a database |
|
Building a compilation (private)Private functions that are called in the background when building individual datasets and entire compilation. These are only of interest to developers. |
|
Add or remove columns of data |
|
Convert units to desired type |
|
Create entity id |
|
Apply custom data manipulations |
|
Flag any excluded observations |
|
Flag values outside of allowable range |
|
Flag values with unsupported characters |
|
Flag any unrecognised traits |
|
Flag disallowed trait values and disallowed characters |
|
Format context data from list to tibble |
|
Format contributors from list into tibble |
|
Format location data as a tibble |
|
Format identifiers from list into tibble |
|
Function to generate sequence of integer ids from vector of names Determines number of 00s needed based on number of records |
|
Function to generate sequence of integer ids for methods |
|
Process a single dataset |
|
Standardise species names |
|
Apply taxonomic updates |
|
Generate unit conversion name |
|
Test whether specified |
|
Path to the |
|
Select column by user |
|
Select variable names by user |
|
Read the |
|
Write the YAML representation of |
|
Diverse utility functionsDiverse utility functions for converting and working with various data types. |
|
Add an item to the end of a list |
|
Format BibEntry using RefManageR |
|
Convert BibEntry object to a list |
|
Check values in one vector against values in another vector |
|
Check values in a vector do not contain disallowed characters |
|
Convert all columns in data frame to character |
|
Extract a trait element from the definitions$traits$elements |
|
Extract the synonyms declared in a trait value's description |
|
Flatten the |
|
Format table with kable and default styling for html |
|
Convert a list of elements into a BibEntry object |
|
Convert NULL values to a different value |
|
Split and order cells with multiple values |
|
Standardise doi |
|
Format a tree structure from a vector |
|
Functions used when writing reports (private)Private functions used inside the template reports. These are only of interest to developers. |
|
Start note recorder (needs review?) |
|
Add a note to the note recorder as a new row |
|
Create a tibble with two columns with note and link |
|
Return a specific row from notes |
|
Print all notes |
|
Print note (needs review?) |
|
Print a specific row from notes |
|
Create a string of random letters |
|
Deprecated function namesFunctions that have been moved from traits.build to traits.use (formerly austraits) and renamed. Deprecated names still work. |
|
Combine all the AusTraits studies into the compiled AusTraits database |
|
Convert dataframe to list |
|
Convert a list with single entries to dataframe |
|
Convert a list of lists to dataframe |
|