Publications by Amanda Simpson
Apply 4
Import data ## # A tibble: 20 × 3 ## raceId fastestLapTime driverId ## <dbl> <chr> <dbl> ## 1 1056 "1:14.621" 832 ## 2 1056 "1:14.649" 830 ## 3 1056 "1:14.670" 846 ## 4 1056 "1:14.552" 815 ## 5 1056 "1:15.316" 20 ## 6 1056 "1:15.412" 842 ## 7 10...
129 sym 1 img
Code Along 5 Ch 4
Coding basics R as a calculator 1000 / 10 ## [1] 100 x <- 1000 / 10 # x assignment symbol What’s in a name? Calling functions Use of TAB seq(from = 1, to = 10, by = 1) ## [1] 1 2 3 4 5 6 7 8 9 10 continuation character, + seq(from = 1, to = 10) ## [1] 1 2 3 4 5 6 7 8 9 10 Printing to screen y <- seq(from = 1, to = 10) ...
171 sym Python (231 sym/9 pcs)
Code Along 5 Ch 5
Import data flights ## # A tibble: 336,776 × 19 ## year month day dep_time sched_de…¹ dep_d…² arr_t…³ sched…⁴ arr_d…⁵ carrier ## <int> <int> <int> <int> <int> <dbl> <int> <int> <dbl> <chr> ## 1 2013 1 1 517 515 2 830 819 11 UA ## 2 2013 1 1 ...
525 sym Python (21260 sym/51 pcs) 1 img
Code Along 4
Welcome Ch1 Introduction The data science project workflow Prerequisites R RStudio r packages Install the tidyverse package install.packages("tidyverse") library(tidyverse) Running R code 1+2 ## [1] 3 Getting help Google Stackoverflow Ch2 Introduction to Data Exploration Ch3 Data Visualization Set up library(tidyverse) ## ── Attachi...
1425 sym R (5099 sym/40 pcs) 24 img
Apply 3
Import data # excel file data <- read_excel("data/myData.xlsx") ## Warning in read_fun(path = path, sheet_i = sheet, limits = limits, shim = ## shim, : NA inserted for an unsupported date prior to 1900 ## Warning in read_fun(path = path, sheet_i = sheet, limits = limits, shim = ## shim, : NA inserted for an unsupported date prior to 1900 ## ...
45 sym 1 img
Code Along 3
Do your work here library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ## ✔ tibble 3.1.8 ✔ dplyr 1.0.10 ## ✔ tidyr 1.2.0 ✔ stringr 1.4.1 ## �...
25 sym R (1512 sym/4 pcs)
Code Along 1
Welcome Ch1 Introduction The data science project workflow Prerequisites R RStudio r packages Install the tidyverse package Running R code 1+2 ## [1] 3 Getting help Google Stackoverflow Ch2 Introduction to Data Exploration Ch3 Data Visualization Set up library(tidyverse) ## ── Attaching packages ────────────...
1373 sym R (1791 sym/9 pcs) 3 img
Apply to Data 1
Import stock prices stocks <- tq_get(c("HD", "XOM", "AXP"), get = "stock.prices", from = "2020-01-01", to = "2021-01-01") stocks ## # A tibble: 759 × 8 ## symbol date open high low close volume adjusted ## <chr> <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> ## 1 H...
50 sym Python (1096 sym/3 pcs) 1 img
Code Along 2 Ch4
Coding basics R as a calculator 1000/10 ## [1] 100 x <- 1000 / 10 assignment symbol What’s in a name? Calling functions Use of TAB seq(from = 1, to = 10, by = 1) ## [1] 1 2 3 4 5 6 7 8 9 10 continuation character, + seq(from =1, to = 10) ## [1] 1 2 3 4 5 6 7 8 9 10 Printing to screen y <- seq(from = 1, to = 10) y ## ...
171 sym Python (223 sym/9 pcs)
Code Along 2 Ch5
Import data flights ## # A tibble: 336,776 × 19 ## year month day dep_time sched_de…¹ dep_d…² arr_t…³ sched…⁴ arr_d…⁵ carrier ## <int> <int> <int> <int> <int> <dbl> <int> <int> <dbl> <chr> ## 1 2013 1 1 517 515 2 830 819 11 UA ## 2 2013 1 1 ...
320 sym Python (21299 sym/51 pcs) 1 img