Blog Archives

One R Package a Day

June 27, 2018
By
One R Package a Day

Discover one R package a day by following the @RLangPackage account on Twitter! Inspired by One R Tip Day (@RLangTip) I created a Twitter bot that will feature one package with its description and GitHub URL each day. The R programming language (referred to as #rstats on Twitter) now has over 12,600 packages. Tweeting one each day would take...

Read more »

Scraping Responsibly with R

June 20, 2018
By
Scraping Responsibly with R

I recently wrote a blog post here comparing the number of CRAN downloads an R package gets relative to its number of stars on GitHub. What I didn’t really think about during my analysis was whether or not scraping CRAN was a violation of its Terms and Conditions. I simply copy and pasted some code from R-bloggers that...

Read more »

Most Starred R Packages on GitHub

June 17, 2018
By
Most Starred R Packages on GitHub

It seems like all the best R packages proudly use GitHub and have a README adorned with badges across the top. The recent Microsoft acquisition of GitHub got me wondering: What proportion of current R packages use GitHub? Or at least refer to it in the URL of the package description. Also, what is the relationship between the number...

Read more »

Analyzing Customer Data from Square

May 17, 2018
By
Analyzing Customer Data from Square

The Square Data Model Authenticating Pulling Transaction Data Spend by Customer Group Issues with the APIsCannot Request Specific Fields Cannot Update Customer Groups Programmatically Customer ID Not On Transactions The Square Data Model Whether you own your own business or consult for a business using Square to capture payment data, Square can offer some amazing opportunities to gain insights by leveraging their Connect v1 & v2 APIs....

Read more »

Tips for Making Professional Shiny Apps with R

January 8, 2018
By
Tips for Making Professional Shiny Apps with R

Add a Progress Wheel Create a www Folder Style with CSS Use a global.R file Encourage Data Downloading If you’ve built a Shiny app with R you’ll know how exciting it feels to get your first app up and running. Shiny is an amazing tool for R users, but how do you take it to the next level? This post with outline five easy...

Read more »

Building a Corporate R Package

November 2, 2017
By

Analytical Functions Company Constants Templating/Formatting Data Source Connections Tutorials Analytical Functions Creating functions is a programming best practice. They are easier to monitor, test, and teach to others. If your team performs routine calculations, establish a standard by adding functions to the shared library and encourage everyone to use those functions. If your company works a lot with customer phone numbers, then write a function...

Read more »

Automating R Scripts with Cron

August 14, 2017
By
Automating R Scripts with Cron

Simple Automation Adding Error Emailing Adding Script Logging Simple Automation If you would like to automate R scripts, one method is to use the cron daemon already packaged on Unix-like servers. Let’s say you have script in your home...

Read more »

A Scalable Predictive API with PFA and AWS Lambda

July 27, 2017
By
A Scalable Predictive API with PFA and AWS Lambda

A Scalable Infrastructure Model Building and Execution using PFA Actually Doing This Step 1 - Creating the Lambda Function Step 2 - Build Your Model Step 3 - Upload Your Model to S3 Step 4 - Test Your Lambda Makes Predictions Step 5 - Hook Lambda Up to API Gateway Load Testing Load Testing Results Load Testing Config Building machine learning models is fun and challenging, but the real challenge...

Read more »

Google Sites for Documentation

June 1, 2017
By

The WYSIWYG Access Control Permissions Embedded Google Docs, Sheets, etc. Built In Google Search and Analytics Final Thoughts The title of this post is probably off-putting to a large number of people. Why on earth would I use Google Site...

Read more »

An R User Chooses a Python IDE

April 6, 2017
By
An R User Chooses a Python IDE

Jupyter Notebooks Rodeo Spyder Text Editor (e.g. Sublime) PyCharm Final Thoughts Yes, this is a post about IDEs. I don’t intend to insult or incite any ill-will towards any person or project. The purpose of this post is to give other p...

Read more »

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)