getAccessions: Getting Accession Data from ICARDA's Genebank Documentation...

Description Usage Arguments Details Value Author(s) Examples

View source: R/getData.R

Description

Return a data frame with accession data for the specified crop.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
getAccessions(
  crop = "",
  ori = NULL,
  IG = "",
  doi = FALSE,
  taxon = FALSE,
  collectionYear = FALSE,
  coor = FALSE,
  available = FALSE
)

Arguments

crop

character. Crop for which to get accession data. See section 'Details' for available crops or use getCrops function. Default: "".

ori

string. Country of origin using the ISO 3166-1 alpha-3 country codes. Default: NULL.

IG

integer. Unique identifier of accession. Default: "".

doi

boolean. If TRUE , the function will return the digital object identifiers DOI for the accessions. Default: FALSE.

taxon

boolean. If TRUE, the function will return the taxon information of the accessions. Default: FALSE.

collectionYear

boolean. If TRUE, the function will return the year of the collecting mission. Default: FALSE.

coor

boolean. If TRUE, returns only georeferenced accessions containing longitude and latitude. Default: FALSE.

available

boolean. If TRUE, returns the availability of accessions for distribution, Default: FALSE.

Details

Types of crops available include:

Alternatively, the list of available crops can be fetched from ICARDA's online server using getCrops.

Value

A data frame with accession passport data for specified crop in crop from the locations in ori.

Author(s)

Khadija Aouzal, Amal Ibnelhobyb, Zakaria Kehel, Fawzy Nawar

Examples

1
2
3
4
5
6
7
## Not run: 
if(interactive()){
 # Obtain accession data for durum wheat
 durum <- getAccessions(crop = 'Durum wheat', coor = TRUE)
 }

## End(Not run)

khadijaaziz/icardaFIGSr documentation built on Dec. 21, 2021, 6:38 a.m.