post_eupath_table: Queries one of the EuPathDB APIs using a POST request.

View source: R/post_eupath_table.R

post_eupath_tableR Documentation

Queries one of the EuPathDB APIs using a POST request.

Description

This should return a dataframe representation of one table at the eupathdb. It should also simplify the column names into something a bit more consistent.

Usage

post_eupath_table(
  entry,
  species,
  tables = "GOTerms",
  table_name = NULL,
  minutes = 60
)

Arguments

entry

The single metadatum containing the base url of the provider, species, etc.

tables

Name of the table at the eupathdb webservice.

table_name

The name of the table in the local SQLite instance. This is provided to make for prettier labeling.

minutes

A timeout when querying the eupathdb.

Value

list containing response from API request.

Author(s)

Keith Hughitt


khughitt/EuPathDB documentation built on Nov. 4, 2023, 4:19 a.m.