This function get files
Arguments
- url
URL of the file to be downloaded
- export
File path where the file should be saved
- limit
Timeout limit (in seconds)
Examples
git <- "https://github.com/"
org <- "taxonomicallyinformedannotation"
repo <- "tima-example-files"
branch <- "main"
file <- "example_metadata.tsv"
get_file(
url = paste(git, org, repo, "raw", branch, file, sep = "/"),
export = "data/source/example_metadata.tsv"
)
#> 2024-07-04 15:04:56.571722 Directory data/source created.
#> [1] "data/source/example_metadata.tsv"