Description Usage Arguments Value Examples
This function downloads the specified file and verifies its size. Since the Census servers don't always work without error, the function tries downloading each file ten times before it gives up.
1 | downloadFile(url, filename, size)
|
url |
contains the url of the file to be downloaded |
filename |
to be used locally |
size |
of the file in bytes |
true
if the function concludes without error
1 2 3 | downloadFile(url = "ftp://ftp.census.gov/Econ2001_And_Earlier/CBP_CSV/cbp00co.zip",
filename = "cbp00co.zip",
size = 16024897)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.