Helper function to retrieve species information from the ENSEMBL API — get.ensembl.info • biomartr
Description: This function interfaces with the ENSEMBL API (https://rest.ensembl.org/info/species?content-type=application/json) and internally stores the output to use this information for subsequent retrieval function calls.

# Helper function to retrieve species information from the ENSEMBL API

Source: `R/get.ensembl.info.R`
`get.ensembl.info.Rd`

This function interfaces with the ENSEMBL API (https://rest.ensembl.org/info/species?content-type=application/json) and internally stores the output to use this information for subsequent retrieval function calls.

    get.ensembl.info(update = FALSE, division)

## Arguments

update

  logical, default FALSE. If TRUE, force re-download of info.

division

  the ENSEMBL database (division) for which information shall be retrieved (available options can be obtained with `ensembl_divisions`).

## See also

`ensembl_divisions`, `getKingdomAssemblySummary`, `getENSEMBLInfo`

## Author

Hajk-Georg Drost

## Examples

    if (FALSE) {
    # Look at available ENSEMBL division options
    ensembl_divisions()
    # Retrieve available information for EnsemblVertebrates
    example <- get.ensembl.info(division = "EnsemblVertebrates")
    example
    # Update information file stored in the tempdir() folder.
    example_update <- get.ensembl.info(division = "EnsemblVertebrates", update = TRUE)
    example_update
    }