All the data you need.

Tag: R

Easy R Tutorials with Dev Containers
Ever written a tutorial for R — or simply shared some R code with someone — and been told that your code doesn't work on their machine? There's now an easy way to solve that problem: Dev Containers. Dev Containers are a standardized container format designed for interactive use. You …
How to Append Rows to a Data Frame in R (with 7 Code Examples)
In this tutorial, we’ll cover how to append to a DataFrame in R — one of the most common modifications performed on a DataFrame. A DataFrame is one of the essential data structures in the R programming language. It’s known to be very flexible because it can contain many data …
RStudio changes name to Posit
RStudio, the company behind the IDE of the same name, are changing their…Tags: name, Posit, R, RStudio
To eBike or Not to eBike
Introduction CitiBike is the sole bike-share operator in all the boroughs of New York City, except for Staten Island. It also claims New Jersey’s Hoboken (“the sixth borough”) and Jersey City (“the seventh borough”) as part of its operating territory. From May 2021 through April 2022, 29 million rides have …
Economic Freedom Index & Macro-Economic Prosperity
The skills the author demonstrated here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy. Background on Economic Freedom What is the Economic Freedom? Economic freedom is defined as the fundamental right of every human to control his or her own labor and …
Identifying Patterns in Healthcare Fraud
Background The US healthcare industry is one of the largest in the country. In fact, in 2020, healthcare spending accounted for almost 20% of the country’s GDP. It is an unfortunate reality that fraudulent activity is an increasing issue, especially within lucrative industries often targeting vulnerable populations. And in healthcare, …
Introduction to statistical learning
An Introduction to Statistical Learning, by Gareth James, Daniela Witten, Trevor Hastie, and…Tags: book, learning, R
✚ How to Make an Animated Donut Chart in R
There are "better" ways to show proportions over time, but sometimes you just want an animated donut.Tags: animation, R
Hotel Bookings Data Analysis
Introduction When running a successful and demanding hospitality business, most hotel owners like a hotel that is running at full capacity and bringing in sizeable revenue. Most of the time hotel booking cancellations can be hurtful to business owners; although sometimes there are genuine reasons for guests to do so. …
Tutorial: How to Write Functions in R
Functions are essential tools in R. Here’s what you need to know about creating and calling them — and more. A function in R is one of the most used objects. It’s very important to understand the purpose and syntax of R functions and knowing how to create or use …
How to Add a Column to a DataFrame in R (with 18 Code Examples)
In this tutorial, you’ll learn one of most common operations used for manipulating DataFrames in R — adding columns. A DataFrame is one of the basic data structures of the R programming language. It is also a very versatile data structure since it can store multiple data types, be easily …
Tutorial: How to Use a For-Loop in R
A for-loop is one of the main control-flow constructs in the R programming language. So what does that mean, and how do you use it? In this tutorial, we will discuss what a for-loop in R is, what syntax it has, when it can be applied, how to use it …
Stock Performance App
Introduction: Often times, free charting platforms (for stocks) don't give the user much control over selecting the date range. Most of the time, it gives the choice of 1 day, 5 days, 1 month, 3 or 6 months, and 1 year. This seems like a pretty straightforward problem to fix. …
Stock Performance App
Introduction: Often times, free charting platforms (for stocks) don't give the user much control over selecting the date range. Most of the time, it gives the choice of 1 day, 5 days, 1 month, 3 or 6 months, and 1 year. This seems like a pretty straightforward problem to fix. …
Catching students cheating with R
Matthew Crump, a psychology professor who discovered high volume cheating in his class…Tags: cheating, Matthew Crump, R, teaching
Marketing Healthcare Products
Healthcare is a complicated business. Every country has their own model for how to care for it's citizens, From robust public single payer systems to private profit driven networks. Many worldwide healthcare providers have restructured to offer multiple healthcare related services to diversify revenue streams, and reduce costs. Exploring opportunities …
Marketing Healthcare Products
Healthcare is a complicated business. Every country has their own model for how to care for it's citizens, From robust public single payer systems to private profit driven networks. Many worldwide healthcare providers have restructured to offer multiple healthcare related services to diversify revenue streams, and reduce costs. Exploring opportunities …
Exploring the Increase in NYC Subway Crimes
If you follow the news, you’ve probably seen several headlines about the increase of crime in the city lately, particularly about incidents in subways. This exploratory data analysis leverages NYPD complaints and MTA Daily Ridership datasets to understand if crime has actually increased in subways. To begin my analysis, I …