I have drafted a function that does this by checking if the name of downloaded files on the local machine matches latest version of package identifiers from download_data(). This way of doing it does not work if the user edits the file names (which is likely). The other option is using md5 hash, but that will change if the file is modified (which is also likely) but not if the file name is changed.
I am not sure which is more likely, so I can't move forward writing this without deciding which method to use. Maybe both?? Is there another way to do this that we have not thought of yet?
I have drafted a function that does this by checking if the name of downloaded files on the local machine matches latest version of package identifiers from download_data(). This way of doing it does not work if the user edits the file names (which is likely). The other option is using md5 hash, but that will change if the file is modified (which is also likely) but not if the file name is changed.
I am not sure which is more likely, so I can't move forward writing this without deciding which method to use. Maybe both?? Is there another way to do this that we have not thought of yet?