get_variety_db | R Documentation |
Filter the cultivar list by the date that the cultivar was added. The default value selects before current date. If select_before = NULL, then all dates will be returned. Recommended usage for curation is to use the current date, so that the curation is reproducible even as the cultivar list is being continuously updated.
get_variety_db(
db_folder,
select_before = Sys.Date(),
select_crops = NULL,
for_matching = FALSE
)
get.variety_db(
db_folder,
select_before = "2021-01-01",
select_crops = NULL,
for_matching = FALSE
)
db_folder |
A string path to the database controlled vocabulary folder |
select_before |
A string in the format of Ymd. The function returns cultivars that were added to the datebase before this specified date. |
select_crops |
A regular expression of crops separated by |. Note that this regex
will filter on the |
for_matching |
logical, whether the result will be used for matching. Default is |
Cultivar names are stored by crop_type, this function will return all the requested crop_types.
Other access codebook functions:
get_col_index()
,
list_db_books()
,
list_db_var()
,
readin_db()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.