get_cultivars_list: Get the cultivar names for an xml plant file (*_plt.xml)

View source: R/get_cultivars_list.R

get_cultivars_listR Documentation

Get the cultivar names for an xml plant file (*_plt.xml)

Description

Extracts the cultivar names from a plant file

Usage

get_cultivars_list(file)

Arguments

file

The path of a plant file.

Value

A vector of cultivar names

Examples

path <- get_examples_path(file_type = "xml")

# Read from a plant file (all cultivars available in a plant file)
cv_list <- get_cultivars_list(file = file.path(path, "file_plt.xml"))


SticsRFiles documentation built on Sept. 12, 2024, 7:41 a.m.