getVarietyCodesNames: Variety/Population level

Description Usage Arguments Value Author(s) Examples

Description

Return the variety/population codes and names from a set of introduction/accession codes.

Usage

1
getVarietyCodesNames(conn, intro.codes)

Arguments

conn

a DBIConnection object, as produced by dbConnect

intro.codes

vector of introduction codes ("CodeIntro")

Value

data frame of variety code(s) and name(s), with one row per input intro code (even if there are duplicates)

Author(s)

Timothée Flutre

Examples

1
2
3
4
5
6
7
8
9
## Not run: ## obviously, you must have read access to the database
library(rfcvquery)
library(getPass)
conn <- dbConnect(drv=MySQL(), host="...", dbname="...",
                  user="...", password=getPass())
getVarietyCodeName(conn, c("23297Mtp13", "23298Mtp28"))
on.exit(dbDisconnect(conn))

## End(Not run)

lacombe-vigne/rfcvquery documentation built on May 20, 2019, 7:32 p.m.