Skip to content

Instantly share code, notes, and snippets.

@martinctc
Last active February 10, 2021 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinctc/5cd3a6f5725877da9373738600ebf04d to your computer and use it in GitHub Desktop.
Save martinctc/5cd3a6f5725877da9373738600ebf04d to your computer and use it in GitHub Desktop.
[Import to FST] #R
import_to_fst <- function(path){
temp_df <- import_wpa(path)
path_fst <- gsub(pattern = "csv$",
replacement = "fst",
x = path)
fst::write_fst(temp_df, path_fst)
fst::read_fst(path_fst)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment