-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read in multiple csvs when file paths aren't amenable to glob syntax #146
Comments
Thanks. Code like |
I hadn't thouight to use map, thanks for the tip. I'm sorry I do not have the experience or knowledge of how to do a PR :( |
What should work is Action item: Implement |
The action items here are a subset of those in #181 (comment), let's move the discussion there. |
I routinely work with multiple large csvs with a mess of file paths that aren't amenable to glob syntax. When working with duckdb I can supply these as, say
SELECT * FROM read_csv([file_1.csv, file_2.csv])
and that works. I can't figure out how to do the equivalent in duckplyr.I've tried:
file_paths <- c("file_1.csv", "file_2.csv)
ORfile_paths <- list("file_1.csv", "file_2.csv")
duckplyr_df_from_csv(file_paths) %>% do_something
It doesn't error, but it only reads in the first file.
Is this possible? if so how? If not, I think there should at least be a warning if a list or vector of multiple file paths are passed.
The text was updated successfully, but these errors were encountered: