Last active
February 10, 2021 12:53
-
-
Save martinctc/5cd3a6f5725877da9373738600ebf04d to your computer and use it in GitHub Desktop.
[Import to FST] #R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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