Publications by business-science.io - Articles

Business Science EARL SF 2017 Presentation: tidyquant, timekit, and more!

17.06.2017

The EARL SF 2017 conference was just held June 5 – 7 in San Francisco, CA. There were some amazing presentations illustrating how R is truly being embraced in enterprises. We gave a three-part presentation on tidyquant for financial data science at scale, timekit for time series machine learning, and Business Science enterprise applications. We...

4096 sym 8 img

Tidy Time Series Analysis, Part 1

01.07.2017

In the first part in a series on Tidy Time Series Analysis, we’ll use tidyquant to investigate CRAN downloads. You’re probably thinking, “Why tidyquant?” Most people think of tidyquant as purely a financial package and rightfully so. However, because of its integration with xts, zoo and TTR, it’s naturally suited for “tidy” time ser...

9109 sym R (5734 sym/16 pcs) 12 img

sweep: Extending broom for time series forecasting

08.07.2017

We’re pleased to introduce a new package, sweep, now on CRAN! Think of it like broom for the forecast package. The forecast package is the most popular package for forecasting, and for good reason: it has a number of sophisticated forecast modeling functions. There’s one problem: forecast is based on the ts system, which makes it difficult wo...

8740 sym R (10983 sym/32 pcs) 6 img

Tidy Time Series Analysis, Part 2: Rolling Functions

22.07.2017

In the second part in a series on Tidy Time Series Analysis, we’ll again use tidyquant to investigate CRAN downloads this time focusing on Rolling Functions. If you haven’t checked out the previous post on period apply functions, you may want to review it to get up to speed. Both zoo and TTR have a number of “roll” and “run” functions...

10641 sym R (6342 sym/14 pcs) 12 img

BizSci Package Updates: Formerly timekit… Now timetk :)

26.07.2017

We have several announcements regarding Business Science R packages. First, as of this week the R package formerly known as timekit has changed to timetk for time series tool kit. There are a few “breaking” changes because of the name change, and this is discussed further below. Second, the sweep and tidyquant packages have several improvemen...

7132 sym R (3001 sym/12 pcs) 6 img 1 tbl

Tidy Time Series Analysis, Part 3: The Rolling Correlation

29.07.2017

In the third part in a series on Tidy Time Series Analysis, we’ll use the runCor function from TTR to investigate rolling (dynamic) correlations. We’ll again use tidyquant to investigate CRAN downloads. This time we’ll also get some help from the corrr package to investigate correlations over specific timespans, and the cowplot package for ...

8771 sym R (5796 sym/13 pcs) 16 img 1 tbl

Tidy Time Series Analysis, Part 4: Lags and Autocorrelation

29.08.2017

In the fourth part in a series on Tidy Time Series Analysis, we’ll investigate lags and autocorrelation, which are useful in understanding seasonality and form the basis for autoregressive forecast models such as AR, ARMA, ARIMA, SARIMA (basically any forecast model with “AR” in the acronym). We’ll use the tidyquant package along with our...

11935 sym R (11297 sym/24 pcs) 10 img

alphavantager: An R interface to the Free Alpha Vantage Financial Data API

02.09.2017

We’re excited to announce the alphavantager package, a lightweight R interface to the Alpha Vantage API! Alpha Vantage is a FREE API for retreiving real-time and historical financial data. It’s very easy to use, and, with the recent glitch with the Yahoo Finance API, Alpha Vantage is a solid alternative for retrieving financial data for FREE!...

5078 sym R (2673 sym/12 pcs) 2 img

It’s tibbletime: Time-Aware Tibbles

06.09.2017

We are very excited to announce the initial release of our newest R package, tibbletime. As evident from the name, tibbletime is built on top of the tibble package (and more generally on top of the tidyverse) with the main purpose of being able to create time-aware tibbles through a one-time specification of an “index” column (a column contai...

7609 sym R (12970 sym/31 pcs) 2 img

HR Analytics: Using Machine Learning to Predict Employee Turnover

17.09.2017

Employee turnvover (attrition) is a major cost to an organization, and predicting turnover is at the forefront of needs of Human Resources (HR) in many organizations. Until now the mainstream approach has been to use logistic regression or survival curves to model employee attrition. However, with advancements in machine learning (ML), we can now...

13445 sym R (8875 sym/33 pcs) 8 img 1 tbl