Description Usage Arguments Details
SafeGraph patterns files come in .csv.gz
format. temp_unzip
will unzip the file, read it in using fun
(usually fread
), and then delete the unzipped .csv
file.
1 | temp_unzip(filename, fun = data.table::fread, ...)
|
filename |
The filename of the zip file to be unzipped. |
fun |
The function to use to read in the resulting unzipped data file. |
... |
Additional arguments to be passed to |
I stole this function from a StackExchange answer many years ago and have copied it so many times I no longer know where it came from. Every day we offer thanks to the author.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.