README.md

readOffice

A package for reading in text from 'unstructured' modern Microsoft Office file types

Build Status

Why do I want this?

If you do any kind of text analysis work, you probably have text arrive in inconvenient formats like Word or PowerPoint. While copy and paste can be an effective way of getting the text into an easily readable format, this package aims to make loading in those files even easier.

Supported files

.docx and .pptx files are supported

Usage

read_docx("file/path/to/word.docx")

Returns a vector of characters, one element for each paragraph in the file.

read_pptx("file/path/to/powerpoint.pptx")

Returns a list, one for each slide, each element in the list containing a vector of characters, one element for each paragraph of text on the slide. Slides are kept in order.



Try the readOffice package in your browser

Any scripts or data that you put into this service are public.

readOffice documentation built on May 1, 2019, 6:35 p.m.