Publications by Asahi Nino
Modern Data Structures: Homework 1 - RMarkdown Report
The nbastatR Package In this report, I’ll be exploring the nbastatR package created by Alex Bresler. The github for the package can be found at https://github.com/abresler/nbastatR/. The point of this package is to give R users a way to explore nba datasets through the following APIs: NBA Stats API Basketball-Reference HoopsHype nbadraft.net r...
1064 sym R (677 sym/4 pcs) 1 img
HW #4: Practice with Advanced Iteration Functions and Purrr for Lists
Use the Aimes housing prices data set in the Week 5 folder to answer the following questions: 1. Convert the data to a tibble data-frame. Use one or more functions from the Purrr package that subsets list data to subset columns in the data to three unique datasets. The first should include columns that are factors only (i.e. - categorical data),...
2166 sym R (5885 sym/12 pcs)
HW 3: Practice Writing Functions and For Loops
1. Write a function that takes a single numerical vector and returns three values, the minimum number, the median, and the maximum number of the vector. Test your function using the month column of the flights dataset. get_min_med_max <- function(input_vector) { return(c(min(test_vector),median(test_vector),max(test_vector))) } 1b. Explain you...
2630 sym R (1046 sym/3 pcs)
HW 2: Use the Tidyverse to Reshape Data
Instructions: Use data logging NBA player season statistics to practice coding with core tidyverse functions (located in course file folder - “Season_Stats_NBA.csv”. Variable descriptions are located at the Kaggle site with the original raw data here: https://www.kaggle.com/drgilermo/nba-players-stats/data season_stats <- read_csv("datafiles/...
3142 sym R (10651 sym/20 pcs)
HW#5: Create an R Package
knitr::opts_chunk$set(echo = TRUE) devtools::install_github("asahi-nino/rnbapackage", force = TRUE) ## Downloading GitHub repo asahi-nino/rnbapackage@HEAD ## ## checking for file ‘/private/var/folders/1r/gfhmhj7s0594w_lzyrrbk1180000gn/T/Rtmp8tEhA6/remotes2adb30d35418/asahi-nino-rnbapackage-749b15d/DESCRIPTION’ ... ✓ checking for fi...
1865 sym R (11556 sym/20 pcs)
HW6: Practicing String Operations and Working with APIs
knitr::opts_chunk$set(echo = TRUE) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.1.0 ✓ dplyr 1.0.5 ## ✓ tidyr 1.1.3 ✓ stringr 1...
2210 sym R (8417 sym/37 pcs)