Description Usage Arguments Value Examples
View source: R/core_functions.R
List all files with a certain extension from a URL
1 | find_files(url, extension, absolute = TRUE)
|
url |
string of URL |
extension |
string of file extension required (without the dot) |
absolute |
logical should relative URLs be converted to absolute URLs? |
Character vector of URLs
1 2 3 4 5 6 | aec_website <- "http://www.aec.gov.au/Electorates/gis/gis_datadownload.htm"
find_files(aec_website, "zip")
## Not run:
find_files(aec_website, "zip")[c(1,2)] %>% download.files()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.