πΆβπ«οΈ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # DS Store nonsense | |
| *.DS_Store | |
| # History files | |
| .Rhistory | |
| .Rapp.history | |
| # Session Data files | |
| .RData | |
| .RDataTmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(lobstr) | |
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(tidyverse) | |
| bikeshare <- dir(path = "PublicTripData/", pattern = "*.csv") %>% | |
| map(~read.csv(file.path("PublicTripData", .))) %>% | |
| reduce(bind_rows) %>% | |
| as_tibble() | |
| write_csv(bikeshare, "week10_biketown_tidy.csv") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(tidyverse) | |
| #> ββ Attaching packages βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ tidyverse 1.2.1 ββ | |
| #> β ggplot2 2.2.1 β purrr 0.2.4 | |
| #> β tibble 1.4.2 β dplyr 0.7.4 | |
| #> β tidyr 0.8.0 β stringr 1.3.0 | |
| #> β readr 1.1.1 β forcats 0.2.0 | |
| #> ββ Conflicts ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ tidyverse_conflicts() ββ | |
| #> β dplyr::filter() masks stats::filter() | |
| #> β dplyr::lag() masks stats::lag() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(tidyverse) | |
| library(geofacet) | |
| library(kani) | |
| same_sex <- read_csv("https://raw.githubusercontent.com/zonination/samesmarriage/master/ssm.csv") | |
| same_sex %>% | |
| gather(`1995`:`2015`, key = "Year", value = "Law") %>% | |
| mutate( | |
| Year = as.numeric(Year), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(tidyverse) | |
| #> ββ Attaching packages βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ tidyverse 1.2.1 ββ | |
| #> β ggplot2 2.2.1.9000 β purrr 0.2.4 | |
| #> β tibble 1.4.2 β dplyr 0.7.4 | |
| #> β tidyr 0.7.2 β stringr 1.2.0 | |
| #> β readr 1.1.1 β forcats 0.2.0 | |
| #> ββ Conflicts ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ tidyverse_conflicts() ββ | |
| #> β dplyr::filter() masks stats::filter() | |
| #> β dplyr::lag() masks stats::lag() | |
| library(janitor) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| location_id | location_name | FIPS | year_id | mx | lower | upper | |
|---|---|---|---|---|---|---|---|
| 102 | United States | 0 | 1980 | 1113.75872590965 | 1112.14649814583 | 1115.39325540527 | |
| 102 | United States | 0 | 1981 | 1093.80132885297 | 1092.51658901195 | 1095.10749694511 | |
| 102 | United States | 0 | 1982 | 1071.56549903362 | 1070.30010778153 | 1072.75108714204 | |
| 102 | United States | 0 | 1983 | 1068.21524898519 | 1067.09190059868 | 1069.33010095745 | |
| 102 | United States | 0 | 1984 | 1063.27566678331 | 1062.22282670442 | 1064.40719514176 | |
| 102 | United States | 0 | 1985 | 1064.32820287557 | 1063.21286711618 | 1065.46191626567 | |
| 102 | United States | 0 | 1986 | 1058.0774400027 | 1056.93109112485 | 1059.22794331396 | |
| 102 | United States | 0 | 1987 | 1051.01699221771 | 1049.9579599548 | 1052.13377899678 | |
| 102 | United States | 0 | 1988 | 1048.06195271938 | 1046.85977624715 | 1049.1101161497 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "location_id","location_name","FIPS","year_id","mx","lower","upper" | |
| 523,"Alabama",1,1980,1164.63296101922,1157.59200189141,1171.69560107631 | |
| 523,"Alabama",1,1981,1147.74970155969,1140.97226876081,1154.81589158437 | |
| 523,"Alabama",1,1982,1125.71506390194,1118.83907922099,1133.0175651763 | |
| 523,"Alabama",1,1983,1126.67975171529,1119.27693296457,1133.81562296821 | |
| 523,"Alabama",1,1984,1130.39254293465,1123.69785221276,1137.31308486031 | |
| 523,"Alabama",1,1985,1135.52946857505,1128.40961756764,1142.82743216841 | |
| 523,"Alabama",1,1986,1133.35228269141,1126.61209847893,1139.72388933858 | |
| 523,"Alabama",1,1987,1125.17118011652,1118.74809446048,1131.64293637908 | |
| 523,"Alabama",1,1988,1133.39478461678,1126.62957479864,1140.49561807992 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| team | game_number | points | cumm_points | |
|---|---|---|---|---|
| Arsenal | 1 | 0 | 0 | |
| Arsenal | 2 | 1 | 1 | |
| Arsenal | 3 | 3 | 4 | |
| Arsenal | 4 | 3 | 7 | |
| Arsenal | 5 | 3 | 10 | |
| Arsenal | 6 | 3 | 13 | |
| Arsenal | 7 | 3 | 16 | |
| Arsenal | 8 | 3 | 19 | |
| Arsenal | 9 | 1 | 20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x | y | group | letter | colors | type | .frame | |
|---|---|---|---|---|---|---|---|
| 10 | 80 | 1 | h | a | one | 1 | |
| 10 | 70 | 1 | a | a | one | 1 | |
| 10 | 70 | 1 | p1 | a | one | 1 | |
| 10 | 70 | 1 | p2 | a | one | 1 | |
| 10 | 80 | 1 | y | a | one | 1 | |
| 10 | 70 | 1 | b | b | one | 1 | |
| 15 | 70 | 1 | i | b | one | 1 | |
| 10 | 70 | 1 | r | b | one | 1 | |
| 15 | 70 | 1 | t | b | one | 1 |
NewerOlder