Publications by Brian Singh

Document_Test

22.06.2021

This is a report showing the distribution of square footage of enclosed vs. unenclosed sidewalk cafes in NYC. It is based on the latest release of data by NYC at the time of report generation. This report was generated on Tue Jun 22 13:37:47 2021. sidewalk <- read.csv("H:/Brian/NYU Analytics/mydata/Lesson 3/Sidewalk_Cafes.csv") sidewalk <- data...

481 sym R (413 sym/3 pcs) 1 img

CUNY_R_Bridge_Week1_Homework_Brian_Singh

05.01.2022

1a.For loop that calculates 13-factorial: x<-13 #initialize x = 13 running_total <-1 #create variable for running total, set = 1 while(x>=1) #while x is greater than or equal to 1 { #multiply runningtotal by x, starting from 13 and add to running total running_total <- running_total * x x <- x-1 #decrement x by 1 } print(running_tota...

403 sym R (2075 sym/10 pcs)

Brian_Singh_CUNY_RBridge_Week2

12.01.2022

Import File and summarize library(readr) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(magrittr) library(curl) ## Using libcurl 7.64.1 with LibreSSL/2....

684 sym R (6615 sym/22 pcs)

Brian_Singh_CUNY_RBridge_Week3

20.01.2022

Import File and summarize library(readr) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(magrittr) library(curl) ## Using libcurl 7.64.1 with LibreSSL/2....

1096 sym R (6602 sym/19 pcs) 4 img

Brian_Singh_Data607_Week1

06.02.2022

Overview The following data set contains predictions for the 2021-2022 NBA season for each game for every team, with probabilities of the game’s result and Elo ratings before the game, as well as probability of Elo rating after the game, assigned. Elo is a measure of strength that is accumulated by a team on a game-by-game basis that takes into...

1730 sym R (4656 sym/23 pcs) 2 img

Brian_Singh_Data607_Week7

20.03.2022

library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(RCurl) 1. JSON library(jsonlite) #sport_books_json <- read_json("/Users/briansingh/Desktop/CUNY/Data607/W...

448 sym R (3224 sym/13 pcs)

Brian_Singh_Data607_Week6_Project2A

13.03.2022

[Chicago, City of. “Chicago Food Inspections.” Kaggle, 5 Dec. 2019] https://www.kaggle.com/chicago/chicago-food-inspections. Analsis Find out if there is a trend of type of facilities and their risk level given by the inspector. Data 607 Week 6 – Project 2A – Food Scrap Drop-Off Locations 1. Import libraries and data. library(tidyve...

720 sym R (6319 sym/15 pcs)

Brian_Singh_Data607_Week6_Project2C

12.03.2022

Post by: Benson Yik Seong Toi “Dataset: The Ramen rater,”THE BIG LIST,” 2021 Link: https://www.kaggle.com/residentmario/ramen-ratings This Dataset is recorded for a ramen product review. Up to date, this data is provided by 2500 reviewers and keeps updating any new ramen in the market. We can use this data set to analyze the favorite favor,...

2507 sym R (8082 sym/22 pcs) 3 img

Brian_Singh_Data607_Week4

27.02.2022

DATA 607 Project 1 library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ purrr 0.3.4 ## ✓ tibble 3.1.6 ✓ dplyr 1.0.7 ## ✓ tidyr 1.1.4 ✓ stringr 1.4.0 ## ✓ read...

636 sym R (4325 sym/15 pcs)

Brian_Singh_Data607_Week3

21.02.2022

DATA 607 – Week Three - R Character Manipulation and Date Processing Load libraries and import data library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ purrr 0.3.4 ## ✓ tibble...

1500 sym R (2150 sym/15 pcs)