Download and read a file from a shared url
Source:R/OneDrive.R
, R/SharePoint.R
OneDrive_shared_file.Rd
This function downloads and reads a file from a shared url.
Arguments
- url
A shared url from OneDrive or SharePoint.
- .function
The function will read the file.
- ...
.function args.
Examples
url = 'https://arturhgq-my.sharepoint.com/:x:/p/contact/EZ_KJ3cqtIVEh4PdXhTGy7IBpWT5_Zlp2VjYwlgVCPK4oQ?e=UZGQZt'
OneDrive_shared_file(
url,
.function = readxl::read_excel
)
#> # A tibble: 3 × 2
#> col1 col2
#> <dbl> <dbl>
#> 1 1 2
#> 2 3 4
#> 3 5 6