Skip to content

Instantly share code, notes, and snippets.

@ddotta
Last active March 21, 2023 15:53
Show Gist options
  • Save ddotta/acf6add0f2328f077791461ef4f37b84 to your computer and use it in GitHub Desktop.
Save ddotta/acf6add0f2328f077791461ef4f37b84 to your computer and use it in GitHub Desktop.
Convert `csv` file "RP1968-2019.csv" to parquet format using `parquetize` R package
## Be careful, this code takes time to run ##
# install.packages("parquetize")
library(parquetize)
csv_to_parquet(
url_to_csv = "https://www.insee.fr/fr/statistiques/fichier/6671801/RP1968-2019_csv.zip",
csv_as_a_zip = TRUE,
filename_in_zip = "Ficdep19.csv",
path_to_parquet = "Data"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment