From 55f51b8acacb89767b1af01e07070a943135a2de Mon Sep 17 00:00:00 2001
From: mine-cetinkaya-rundel InstallationCRAN with:
install.packages("dsbox")
And the development version from GitHub with:
+And the development version from GitHub with:
-devtools::install_github("rstudio-education/dsbox")
devtools::install_github("tidyverse/dsbox")
You can file an issue to get help, report a bug, or make a feature request.
When filing an issue to get help or report a bug, please make a minimal reproducible example using the reprex package. If you haven’t heard of or used reprex before, you’re in for a treat! Seriously, reprex will make all of your R-question-asking endeavors easier (which is a pretty insane ROI for the five to ten minutes it’ll take you to learn what it’s all about). For additional reprex pointers, check out the Get help! section of the tidyverse site.
-Before opening a new issue, be sure to search issues and pull requests to make sure the bug hasn’t been reported and/or already fixed in the development version. By default, the search will be pre-populated with is:issue is:open
. You can edit the qualifiers (e.g. is:pr
, is:closed
) as needed. For example, you’d simply remove is:open
to search all issues in the repo, open or closed.
Before opening a new issue, be sure to search issues and pull requests to make sure the bug hasn’t been reported and/or already fixed in the development version. By default, the search will be pre-populated with is:issue is:open
. You can edit the qualifiers (e.g. is:pr
, is:closed
) as needed. For example, you’d simply remove is:open
to search all issues in the repo, open or closed.
instructors
#> # A tibble: 11 × 6
-#> year full_time_tenured full_time_tenure_track full_time_no…¹ part_…² grad_…³
-#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
-#> 1 1975 29 16.1 10.3 24 20.5
-#> 2 1989 27.6 11.4 14.1 30.4 16.5
-#> 3 1993 25 10.2 13.6 33.1 18.1
-#> 4 1995 24.8 9.6 13.6 33.2 18.8
-#> 5 1999 21.8 8.9 15.2 35.5 18.7
-#> 6 2001 20.3 9.2 15.5 36 19
-#> 7 2003 19.3 8.8 15 37 20
-#> 8 2005 17.8 8.2 14.8 39.3 19.9
-#> 9 2007 17.2 8 14.9 40.5 19.5
-#> 10 2009 16.8 7.6 15.1 41.1 19.4
-#> 11 2011 16.7 7.4 15.4 41.3 19.3
-#> # … with abbreviated variable names ¹full_time_non_tenure_track, ²part_time,
-#> # ³grad_student
+#> year full_time_tenured full_time_tenure_track full_time_non_tenure_track
+#> <dbl> <dbl> <dbl> <dbl>
+#> 1 1975 29 16.1 10.3
+#> 2 1989 27.6 11.4 14.1
+#> 3 1993 25 10.2 13.6
+#> 4 1995 24.8 9.6 13.6
+#> 5 1999 21.8 8.9 15.2
+#> 6 2001 20.3 9.2 15.5
+#> 7 2003 19.3 8.8 15
+#> 8 2005 17.8 8.2 14.8
+#> 9 2007 17.2 8 14.9
+#> 10 2009 16.8 7.6 15.1
+#> 11 2011 16.7 7.4 15.4
+#> # ℹ 2 more variables: part_time <dbl>, grad_student <dbl>
ncbikecrash
#> # A tibble: 7,467 × 66
-#> object_id city county region devel…¹ local…² on_road rural…³ speed…⁴ traff…⁵
-#> <dbl> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
-#> 1 1686 None… Wayne Coast… Farms,… Rural … SR 1915 Rural 50 - 5… No Con…
-#> 2 1674 Hend… Vance Piedm… Reside… Mixed … NICHOL… Urban 30 - 3… Stop S…
-#> 3 1673 None… Linco… Piedm… Farms,… Rural … US 321 Rural 50 - 5… Double…
-#> 4 1687 Whit… Colum… Coast… Commer… Urban … W BURK… Urban 30 - 3… No Con…
-#> 5 1653 Wilm… New H… Coast… Reside… Urban … RACINE… Urban NA Stop A…
-#> 6 1665 None… Robes… Coast… Farms,… Rural … SR 1513 Rural 50 - 5… No Con…
-#> 7 1642 None… Richm… Piedm… Reside… Mixed … SR 1903 Rural 30 - 3… No Con…
-#> 8 1675 Rale… Wake Piedm… Commer… Urban … PERSON… Urban 30 - 3… Stop A…
-#> 9 1668 Whit… Colum… Coast… Reside… Rural … FLOWER… Urban 30 - 3… No Con…
-#> 10 1662 New … Craven Coast… Reside… Urban … SUTTON… Urban 20 - 2… No Con…
-#> # … with 7,457 more rows, 56 more variables: weather <chr>, workzone <chr>,
-#> # bike_age <chr>, bike_age_group <chr>, bike_alcohol <chr>,
+#> object_id city county region development locality on_road rural_urban
+#> <dbl> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
+#> 1 1686 None - Rura… Wayne Coast… Farms, Woo… Rural (… SR 1915 Rural
+#> 2 1674 Henderson Vance Piedm… Residential Mixed (… NICHOL… Urban
+#> 3 1673 None - Rura… Linco… Piedm… Farms, Woo… Rural (… US 321 Rural
+#> 4 1687 Whiteville Colum… Coast… Commercial Urban (… W BURK… Urban
+#> 5 1653 Wilmington New H… Coast… Residential Urban (… RACINE… Urban
+#> 6 1665 None - Rura… Robes… Coast… Farms, Woo… Rural (… SR 1513 Rural
+#> 7 1642 None - Rura… Richm… Piedm… Residential Mixed (… SR 1903 Rural
+#> 8 1675 Raleigh Wake Piedm… Commercial Urban (… PERSON… Urban
+#> 9 1668 Whiteville Colum… Coast… Residential Rural (… FLOWER… Urban
+#> 10 1662 New Bern Craven Coast… Residential Urban (… SUTTON… Urban
+#> # ℹ 7,457 more rows
+#> # ℹ 58 more variables: speed_limit <chr>, traffic_control <chr>, weather <chr>,
+#> # workzone <chr>, bike_age <chr>, bike_age_group <chr>, bike_alcohol <chr>,
#> # bike_alcohol_drugs <chr>, bike_direction <chr>, bike_injury <chr>,
#> # bike_position <chr>, bike_race <chr>, bike_sex <chr>, driver_age <chr>,
#> # driver_age_group <chr>, driver_alcohol <chr>, driver_alcohol_drugs <chr>,
-#> # driver_est_speed <chr>, driver_injury <chr>, driver_race <chr>,
-#> # driver_sex <chr>, driver_vehicle_type <chr>, crash_alcohol <chr>, …
+#> # driver_est_speed <chr>, driver_injury <chr>, driver_race <chr>, …
ncbreweries
#> # A tibble: 251 × 7
-#> name city type beerc…¹ est status url
+#> name city type beercount est status url
#> <chr> <chr> <chr> <dbl> <dbl> <chr> <chr>
-#> 1 217 Brew Works Wilson Microb… 10 2017 Active http…
-#> 2 3rd Rock Brewing Company Trenton Microb… 12 2016 Active http…
-#> 3 7 Clans Brewing Cherokee Client… 1 2018 Active http…
-#> 4 Andrews Brewing Company Andrews Microb… 18 2014 Active http…
-#> 5 Angry Troll Brewing Elkin Microb… 8 2017 Active http…
-#> 6 Appalachian Mountain Brewery Boone Microb… 78 2013 Active http…
-#> 7 Archetype Brewing Asheville Microb… 15 2017 Active http…
-#> 8 Asheville Brewing Company Asheville Brewpub 87 2003 Active http…
-#> 9 Ass Clown Brewing Company Cornelius Microb… 106 2011 Active http…
-#> 10 Aviator Brewing Company Fuquay Varina Microb… 59 2008 Active http…
-#> # … with 241 more rows, and abbreviated variable name ¹beercount
+#> 1 217 Brew Works Wilson Micr… 10 2017 Active http…
+#> 2 3rd Rock Brewing Company Trenton Micr… 12 2016 Active http…
+#> 3 7 Clans Brewing Cherokee Clie… 1 2018 Active http…
+#> 4 Andrews Brewing Company Andrews Micr… 18 2014 Active http…
+#> 5 Angry Troll Brewing Elkin Micr… 8 2017 Active http…
+#> 6 Appalachian Mountain Brewery Boone Micr… 78 2013 Active http…
+#> 7 Archetype Brewing Asheville Micr… 15 2017 Active http…
+#> 8 Asheville Brewing Company Asheville Brew… 87 2003 Active http…
+#> 9 Ass Clown Brewing Company Cornelius Micr… 106 2011 Active http…
+#> 10 Aviator Brewing Company Fuquay Varina Micr… 59 2008 Active http…
+#> # ℹ 241 more rows
pac_2020_raw
#> # A tibble: 226 × 5
-#> `PAC Name (Affiliate)` Country of Origin/…¹ Total Dems Repubs
-#> <chr> <chr> <chr> <chr> <chr>
-#> 1 7-Eleven Japan/Seven & I Hol… $2,0… $1,0… $1,000
-#> 2 ABB Group (ABB Group) Switzerland/Asea Br… $15,… $6,8… $8,800
-#> 3 Accenture (Accenture) Ireland/Accenture p… $82,… $49,… $33,0…
-#> 4 Air Liquide America France/L'Air Liquid… $24,… $11,… $13,0…
-#> 5 Airbus Group Netherlands/Airbus … $176… $72,… $104,…
-#> 6 Alkermes Inc Ireland/Alkermes Plc $89,… $30,… $59,0…
-#> 7 Allianz of America (Allianz) Germany/Allianz AG … $66,… $33,… $33,1…
-#> 8 AMG Vanadium Netherlands/AMG Adv… $500 $0 $500
-#> 9 Anheuser-Busch (Anheuser-Busch InBev) Belgium/Anheuser-Bu… $307… $171… $136,…
-#> 10 AON Corp (AON plc) UK/AON PLC $87,… $44,… $43,0…
-#> # … with 216 more rows, and abbreviated variable name
-#> # ¹`Country of Origin/Parent Company`
+#> `PAC Name (Affiliate)` Country of Origin/Pa…¹ Total Dems Repubs
+#> <chr> <chr> <chr> <chr> <chr>
+#> 1 7-Eleven Japan/Seven & I Holdi… $2,0… $1,0… $1,000
+#> 2 ABB Group (ABB Group) Switzerland/Asea Brow… $15,… $6,8… $8,800
+#> 3 Accenture (Accenture) Ireland/Accenture plc $82,… $49,… $33,0…
+#> 4 Air Liquide America France/L'Air Liquide … $24,… $11,… $13,0…
+#> 5 Airbus Group Netherlands/Airbus Gr… $176… $72,… $104,…
+#> 6 Alkermes Inc Ireland/Alkermes Plc $89,… $30,… $59,0…
+#> 7 Allianz of America (Allianz) Germany/Allianz AG Ho… $66,… $33,… $33,1…
+#> 8 AMG Vanadium Netherlands/AMG Advan… $500 $0 $500
+#> 9 Anheuser-Busch (Anheuser-Busch InB… Belgium/Anheuser-Busc… $307… $171… $136,…
+#> 10 AON Corp (AON plc) UK/AON PLC $87,… $44,… $43,0…
+#> # ℹ 216 more rows
+#> # ℹ abbreviated name: ¹`Country of Origin/Parent Company`
student_survey
#> # A tibble: 80 × 53
-#> pets us_reg…¹ class…² hair_…³ campus watch…⁴ beyon…⁵ fav_a…⁶ socia…⁷ relat…⁸
-#> <int> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
-#> 1 1 Southea… Junior Brown West Basket… yes Taylor… Facebo… no
-#> 2 0 Southea… First-… Brown East Footba… hell y… Taylor… Instag… no
-#> 3 0 Not fro… Sophom… Black West Soccer no none o… Facebo… no
-#> 4 1 Pacific… Junior Brown Off c… Footba… hell y… Kanye … Snapch… no
-#> 5 7 Southwe… Sophom… Brown West I don'… hell y… none o… Instag… it's c…
-#> 6 1 Mid-Atl… Sophom… Brown West Basket… hell y… Beyonce Instag… no
-#> 7 3 Midwest First-… Blonde East I don'… meh Taylor… NA no
-#> 8 0 Mid-Atl… Sophom… Brown West Basket… yes Kanye … Facebo… no
-#> 9 1 Mid-Atl… Sophom… Blonde Centr… Basket… hell y… Taylor… Instag… no
-#> 10 1 Midwest First-… Brown East Basket… yes none o… Instag… it's c…
-#> # … with 70 more rows, 43 more variables: num_siblings <int>,
-#> # num_languages <chr>, nights_drinking <dbl>, pbj_or_n <chr>, tenting <chr>,
+#> pets us_region class_year hair_color campus watch_sports beyonce_love
+#> <int> <chr> <chr> <chr> <chr> <chr> <chr>
+#> 1 1 Southeast Junior Brown West Basketball yes
+#> 2 0 Southeast First-year Brown East Football hell yes
+#> 3 0 Not from the US Sophomore Black West Soccer no
+#> 4 1 Pacific Northwe… Junior Brown Off c… Football hell yes
+#> 5 7 Southwest Sophomore Brown West I don't wat… hell yes
+#> 6 1 Mid-Atlantic Sophomore Brown West Basketball hell yes
+#> 7 3 Midwest First-year Blonde East I don't wat… meh
+#> 8 0 Mid-Atlantic Sophomore Brown West Basketball yes
+#> 9 1 Mid-Atlantic Sophomore Blonde Centr… Basketball hell yes
+#> 10 1 Midwest First-year Brown East Basketball yes
+#> # ℹ 70 more rows
+#> # ℹ 46 more variables: fav_artist <chr>, social_network <chr>,
+#> # relationship_status <chr>, num_siblings <int>, num_languages <chr>,
+#> # nights_drinking <dbl>, pbj_or_n <chr>, tenting <chr>,
#> # countries_visited <int>, first_kiss <int>, hours_watching_television <dbl>,
#> # perimeter <chr>, fav_campus_eatery <chr>, fb_visits_per_day <int>,
-#> # ac <chr>, condiment <chr>, vegetarian <chr>, voted_for_president <chr>,
-#> # social_club <chr>, space_time <chr>, university_applications <int>,
-#> # pizza_consumption <dbl>, sick <int>, games_attended <int>, …
+#> # ac <chr>, condiment <chr>, vegetarian <chr>, voted_for_president <chr>, …