[381c22]: / man / retrieveURL.Rd

Download this file

30 lines (25 with data), 723 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal-functions.R
\name{retrieveURL}
\alias{retrieveURL}
\title{Retries a URL}
\usage{
retrieveURL(data, species, outputFormat, maxRetries = 3, successCode = 200)
}
\arguments{
\item{data}{A gene list}
\item{species}{The taxonomy name/id. Default is "9606" for Homo sapiens}
\item{outputFormat}{format of the output. Can be "highres_image", "tsv",
"json", "tsv-no-header", "xml"}
\item{maxRetries}{maximum number of attempts to connect to the STRING api.}
\item{successCode}{Status code number that represents success}
}
\value{
either the output of httr::GET or an error message
}
\description{
Retries a URL
}
\author{
Waldir Leoncio
}