getURL {immunotation} | R Documentation

## getURL

### Description

getURL

### Usage

    getURL(
      URL,
      N.TRIES = 2L,
      read_method = c("delim", "lines", "html"),
      skip = 0,
      delim = "\t",
      col_names = TRUE
    )

### Arguments

`URL` | Indicated the url that will be read
`N.TRIES` | Integer, how often should the function try to read the URL?
`read_method` | Method to be used for reading of URL content ("delim" -> `readr::read_delim`, "lines" -> `readr::read_lines`, "html" -> `xml2::read_html`)
`skip` | integer indicating how many lines to skip when reading URL
`delim` | pattern used for delim (passed to `delim` of read functions)
`col_names` | list of colnames to use

### Value

returns a the content of the URL. The format of the return object depends on the read_method that was used.

[Package immunotation version 1.2.0 Index]