Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upEven lazier idea for a MS Office and LibreOffice sniffing function. #237
Comments
bokov
changed the title
Even lazier idea for a MS Office and LibreOffice sniffing file.
Even lazier idea for a MS Office and LibreOffice sniffing function.
Oct 4, 2019
This comment has been minimized.
This comment has been minimized.
Note: as written it cannot distinguish between .xlsx vs .docx vs .pptx nor between the various LibreOffice equivalents, though it can tell them from each other. This should be okay though because |
This comment has been minimized.
This comment has been minimized.
I'm not sure it's that useful because these are pretty unambiguous file extensions? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bokov commentedOct 4, 2019
Please specify whether your issue is about:
I often am given MS Office files that have missing extensions or incorrect ones (e.g. a novice user tried to 'convert' them to csv by renaming them). Not only are these zip files, they can have the same file signature as LibreOffice files and who knows what else.
This is a function that scans for files that are specific to MS Office and LibreOffice/OpenOffice.
As with #236, my question is: would this function be useful to contribute to rio, for example to augment the current extension-only dispatch of
readxl
andreadODS
methods.Put your code here: