--- a +++ b/man/retrieveURL.Rd @@ -0,0 +1,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 +}