parse_remote_excel: Parse Remotely-Hosted Excel File

Description Usage Arguments Value Note Examples

View source: R/download_tools.R

Description

Helper function for parsing an Excel file hosted on a website or FTP server.

Usage

1

Arguments

path

The URL or FTP directory of the Excel file.

...

Other arguments to pass to readxl::read_excel()

Value

A dataframe.

Note

This function will be defunct once readxl::read_excel() supports reading from more general inputs.

Examples

1
2
3
4
5
6
7
8
## Not run: 
parse_remote_excel(paste0("https://github.com/",
    "InteragencyEcologicalProgram/Status-and-Trends/blob/",
    "9d1ba8ec3f475e96dbdd7788b45c26fb0fc55b0b/data/",
    "EMPMysidBPUEMatrixAug2019.xlsx?raw=true"),
  sheet = "MysidBPUEMatrix1972-2018", guess_max = 100000)

## End(Not run)

InteragencyEcologicalProgram/smonitr documentation built on Nov. 9, 2020, 7:01 a.m.