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

Streamable table #10

Merged
merged 7 commits into from Jul 26, 2018
Merged

Streamable table #10

merged 7 commits into from Jul 26, 2018

Conversation

@cboettig
Copy link
Member

@cboettig cboettig commented Jul 26, 2018

First pass at implementing @richfitz's proposal for pluggable text interface.

  • write method must take a connection
  • read method gets text string from readLines (which draws from the possibly compressed connection)

Connection is generalized to handle any of the compressed connection types on both the read and write side, so as long as method can operate on a connection this is handled automatically.

Notes:

  • Consequence of above is that base utils::read.table method needs input to be wrapped in textConnection.
  • base methods wrap write.table, note that write.csv etc prevent appending because it locks col.names
  • tests and some documentation have been added.
@cboettig cboettig mentioned this pull request Jul 26, 2018
9 of 12 tasks complete
@cboettig cboettig merged commit fad77ba into master Jul 26, 2018
6 checks passed
6 checks passed
codecov/patch 91.93% of diff hit (target 91.4%)
Details
codecov/project 94.01% (+2.61%) compared to 8642ba1
Details
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@cboettig cboettig deleted the streamable-table branch Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.