navigate_ftp | R Documentation |
Internal function used to navigate through the World Pop FTP's folders.
navigate_ftp(folderLst, iso, pathFTP, pathFTP0, allowInteractivity, testMode)
folderLst |
character vector; folder names within the main World Pop FTP directory |
iso |
character; the country ISO alpha-3 code |
pathFTP |
character; the path of the main World Pop FTP directory. The variable IS updated during the process. |
pathFTP0 |
character; the path of the main World Pop FTP directory. The variable IS NOT updated during the process. |
The function keeps running while no folder whose name is the country ISO code is reached.
a list of length 2; the first element is a character vector that contains the available files in the targeted folder and the second element is the path of the targeted folder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.