tidyverse/duckplyr

Can't `df_from_file` automatically determine the table function from the file extension?

Closed this issue · 2 comments

I am wondering if it is possible to automatically set the function in cases where the file extension is properly set. Like:

  • foo.parquet -> "read_parquet"
  • foo.csv, foo.CSV -> "read_csv_auto"

Good idea, thanks!

I'll go with new specialized functions (duckplyr_)?df_from_(csv|parquet) .