stringfix : adding transcoder shiny app

February 9, 2019
By

(This article was first published on Guillaume Pressiat, and kindly contributed to R-bloggers)

Adding quotes to a character list

Transcoder : Shiny app to tranpose lists to columns (and reciprocally) and formatting tricks

Often I have to take a character list or column and put it in a vector, which means before I have to add quotes. It takes times.

For me and my colleagues I have created the transcoder shiny app. The main goal is to facilitate formatting list of strings (make a vector from a list, from an Excel column, add quotes, put in pipe R format, or in SQL like, etc.).

You can run the app within stringfix package :

stringfix::run_transcoder()

You may have to reinstall the package :

devtools::install_github('GuillaumePressiat/stringfix')

You can also view and explore this little app running on shinyapps.io here.

For instance, here is a screenshot of the app that put a column in grepl pipe format:

Format a column to pipe | format

Other things about stringfix package

I have added a page to present all the functions here.


Three functions in stringfix package are for pasting. From here, you may discover another package that propose to paste strings with infix operators, it’s the pasta package !

To leave a comment for the author, please follow the link and comment on their blog: Guillaume Pressiat.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)