raw_from_url: Load raw filedata from a remote connection

View source: R/from_url.R

raw_from_urlR Documentation

Load raw filedata from a remote connection

Description

This function allows you to retrieve data from a URL into raw format, which can then be passed into the appropriate file-reading function. Data is memoised/cached for 24 hours.

Usage

raw_from_url(url)

Arguments

url

a character url

Value

a raw vector

Examples



try({ # prevents CRAN errors
head(raw_from_url(
  "https://github.com/nflverse/nflverse-data/releases/download/test/combines.rds"
  ),
50)
})


nflreadr documentation built on Sept. 11, 2024, 6:14 p.m.