nationalparkservice / NPSutils

NPSutils contains functions for accessing, downloading, loading in to R and filtering data packages on DataStore
https://nationalparkservice.github.io/NPSutils/
Other
6 stars 2 forks source link

removeDataPackage function (or equiv. parameter for existing function) #12

Closed juddpatterson closed 9 months ago

juddpatterson commented 3 years ago

By default getDataPackage() leaves both the zipped and unzipped data packages on the file system of the computer. A cleanup function could be run as needed to avoid cluttering up the file system.

For example, someone could run these in sequence:

RobLBaker commented 1 year ago

This is a good idea. Bumping it up in the queue

RobLBaker commented 1 year ago

added a function delete_packages() but haven't pushed to the main branch yet.

RobLBaker commented 9 months ago

changed the function name to rm_local_packages() to emphasize the deletion is NOT occurring on DataStore.