Skip to content
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

Add a way to read from a ZIP archive #696

Open
Kodiologist opened this issue Apr 26, 2022 · 1 comment
Open

Add a way to read from a ZIP archive #696

Kodiologist opened this issue Apr 26, 2022 · 1 comment

Comments

@Kodiologist
Copy link

Consider a file like this one:

https://en.www.inegi.org.mx/contenidos/programas/ccpv/2010/microdatos/iter/ageb_manzana/01_aguascalientes_2010_ageb_manzana_urbana_xls.zip

It's a ZIP with a single member, which is an Excel file. read_xls only seems to accept a path to a file on disk, not the document as a string, nor an unz connection object, nor a shell command that prints the document to standard output. It would be nice to not have to extract the archive member to disk just to read it.

See also https://stackoverflow.com/questions/26763377/reading-an-excel-file-into-an-r-dataframe-from-a-zipped-folder

@jennybc
Copy link
Member

jennybc commented Aug 17, 2022

Already covered by #278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants