Publications by Alexis Marcolini
Document
Import your data data <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2022/2022-03-29/sports.csv') ## Rows: 132327 Columns: 28 ## ── Column specification ────────────────────────────────────────────────�...
158 sym
Document
Introduction Questions Variation Visualizing distributions diamonds %>% ggplot(aes(x = cut)) + geom_bar() diamonds %>% ggplot(mapping = aes(x = carat)) + geom_histogram(binwidth = 0.5) diamonds %>% filter(carat < 3) %>% ggplot(aes(x = carat)) + geom_histogram(binwidth = 0.5) diamonds %>% ggplot(aes(x ...
285 sym R (1895 sym/19 pcs) 15 img
Publish Document
Import data # excel file College <- read_excel("../00_data/MyData.xlsx") College ## # A tibble: 132,327 × 28 ## year unitid institution_name city_txt state_cd zip_text classification_code ## <dbl> <dbl> <chr> <chr> <chr> <dbl> <dbl> ## 1 2015 100654 Alabama A & M Un… Normal AL 35762 ...
164 sym Python (4727 sym/11 pcs)
Document
Import data Apply the following dplyr verbs to your data Filter rows Arrange rows Select columns Add columns Summarize by groups...
153 sym
Document
Import data flights ## # A tibble: 336,776 × 19 ## year month day dep_time sched_dep_time dep_delay arr_time sched_arr_time ## <int> <int> <int> <int> <int> <dbl> <int> <int> ## 1 2013 1 1 517 515 2 830 819 ## 2 2013 1 1 533 529 ...
525 sym Python (20154 sym/51 pcs) 1 img
Document
Import data # csv file salary <- read_csv("../00_data/Salaries.csv") salary ## # A tibble: 397 × 6 ## rank discipline yrs.since.phd yrs.service sex salary ## <chr> <chr> <dbl> <dbl> <chr> <dbl> ## 1 Prof B 19 18 Male 139750 ## 2 Prof B 20 ...
106 sym 1 img
Document
Coding basics R as a calculator 1000/10 ## [1] 100 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(...
173 sym Python (248 sym/11 pcs)
Document
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) data mpg ## # A tibble: 234 × 11 ## manufacturer model d...
1380 sym R (1746 sym/12 pcs) 7 img
Publish Document
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) data mpg ## # A tibble: 234 × 11 ## manufacturer model d...
1380 sym R (1746 sym/12 pcs) 7 img