get_gnaf | R Documentation |
Convenience function for downloading and unpacking G-NAF
get_gnaf( url = "https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/4b084096-65e4-4c8e-abbe-5e54ff85f42f/download/nov20_gnaf_pipeseparatedvalue.zip", dest_folder = "./", recursive = TRUE, verbose = TRUE )
url |
A character vector identifying the root directory of where the G-NAF extract is located. Note that it will always download the most recent gnaf, despite the default URL indicating Nov 2020 |
dest_folder |
Path where G-NAF will be downloaded to. Default is |
recursive |
If file paths should allow to be recursively created. Default is |
verbose |
A logical argument to determine if the function should be verbose or not. Default is |
Returns The latest version of G-NAF.
Kyle Haynes, kyle@kylehaynes.com.au.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.