Tagged "R"

R Security Concerns and 2019 CRAN downloads

The number of downloads that a package has can tell us a number of things.

Water Quality Analysis

This small tutorial was developed for a talk / workshop that Phil Bowsher gave at the EPA.

∑ { my parts }

library(tidyverse) terrorists <- googlesheets::gs_url("https://docs.google.com/spreadsheets/d/1LYQakIwGosibDHJKJqZgjM39qpSlp_gFG29zJ6paDAI/edit#gid=956062857") %>% googlesheets::gs_read() terrorist_by_race ## # A tibble: 7 x 6 ## race n fatalities injured total_victims `%` ## <chr> <int> <dbl> <dbl> <dbl> <dbl> ## 1 white 63 554 1067 1621 69.

Google Trends for Campaigns

Over the past few years we have seen Google Trends becoming quite ubiquitous in politics.

Web-scraping for Campaigns

As the primaries approach, I am experiencing a mix of angst, FOMO, and excitement.

genius tutorial

Introducing genius You want to start analysing song lyrics, where do you go?

genius Plumber API

get started here Since I created genius, I’ve wanted to make a version for python.

xgboost feature importance

This post will go over extracting feature (variable) importance and creating a function for creating a ggplot object for it.

[Not so] generic functions

The Jargon The Generic Method The Default Method sf method tbl_graph method Review (tl;dr) Lately I have been doing more of my spatial analysis work in R with the help of the sf package.

Chunking your csv

Sometimes due to limitations of software, file uploads often have a row limit.

Reading Multiple csvs as 1 data frame

In an earlier posting I wrote about having to break a single csv into multiple csvs.

Coursera R-Programming: Week 2 Problems

Over the past several weeks I have been helping students, career professionals, and people of other backgrounds learn R.

Introducing geniusR

knitr::opts_chunk$set(eval=FALSE) Introducing geniusR geniusR enables quick and easy download of song lyrics.