load_dataset | R Documentation |
This functions loads a csv dataset exported from Gamebirds and cleans it to be used by the gblincoiln package. This is the recommended way to import data for use by the package.
load_dataset( path, rename_columns = TRUE, colnames = NULL, add_age_classes = TRUE, age_classes = NULL, add_sex_classes = TRUE, sex_classes = NULL, correct_recovery_years = TRUE, ... )
path |
Path to the data file. Should point to a csv file. |
rename_columns |
Should the columns be renamed? Default: TRUE |
colnames |
Data frame. The columns to rename. Will be passed as the |
add_age_classes |
Should the function add age classes? Default: TRUE |
age_classes |
The age classes that will be passed as the |
add_sex_classes |
Should the function add sex classes? Default: TRUE |
sex_classes |
The sex classes that will be passed as the |
correct_recovery_years |
Should the recovery years be corrected? Default: TRUE |
... |
Additional arguments passed to the |
A dataframe formatted to use in the gblincoln package
clean_dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.