Skip to content

Instantly share code, notes, and snippets.

id mission ldate ddate name mass apogee land_date mission_days size
S12399 STS-1 1981-04-12 1981-04-14 Columbia 94535 271 NA 2 6
S12953 STS-2 1981-11-12 1981-11-14 Columbia 99719 264 NA 2 6
S13106 STS-3 1982-03-22 1982-03-30 Columbia 101144 245 NA 8 11
S13300 STS-4 1982-06-27 1982-07-04 Columbia 103620 304 NA 7 6
S13650 STS-5 1982-11-11 1982-11-16 Columbia 104876 318 NA 5 6
S13968 STS-6 1983-04-04 1983-04-09 Challenger 109463 289 NA 5 6
S14132 STS-7 1983-06-18 1983-06-24 Challenger 105967 321 NA 6 6
S14312 STS-8 1983-08-30 1983-09-05 Challenger 103131 309 NA 6 6
S14523 STS-9 1983-11-28 1983-12-08 Columbia 106954 251 NA 10 11
@erdavis1
erdavis1 / rpics.csv
Created June 6, 2021 00:31
Reddit Pics
We can't make this file beautiful and searchable because it's too large.
id,author,created_utc,title,full_link,url,person_detected,Category,upvote_ratio,score,num_comments
fmpgrs,97267,1584833460,We Can Do It! Art by /u/EpitaphGirlfriend conerted into into a window decal for our Covid Wing.,https://www.reddit.com/r/pics/comments/fmpgrs/we_can_do_it_art_by_uepitaphgirlfriend_conerted/,https://i.imgur.com/HAmRfxa.jpg,TRUE,NoPerson,1,2,0
j4j61h,129828,1601746369,My mask was boring. Then I realised I can't draw.,https://www.reddit.com/r/pics/comments/j4j61h/my_mask_was_boring_then_i_realised_i_cant_draw/,https://i.redd.it/qbf0qnjs0xq51.jpg,TRUE,NoPerson,0.55,2,0
fwnndz,191213,1586277323,Sun is drawing in the sea <U+0001F62E><U+0001F62E>,https://www.reddit.com/r/pics/comments/fwnndz/sun_is_drawing_in_the_sea/,https://i.redd.it/rvseu4tdbfr41.jpg,FALSE,NoPerson,0.69,37,7
hxmutn,212134,1595684299,A Pro-Mask Mural in India,https://www.reddit.com/r/pics/comments/hxmutn/a_promask_mural_in_india/,https://i.redd.it/6hicyavya0d51.png,TRUE,NoPerson,0.93,277,10
@erdavis1
erdavis1 / NBAscores.csv
Created January 27, 2021 23:24
NBA box scores
We can't make this file beautiful and searchable because it's too large.
"Team","Match Up","Game Date","Season","W/L","MIN","PTS","FGM","FGA","FG%","3PM","3PA","3P%","FTM","FTA","FT%","OREB","DREB","REB","AST","STL","BLK","TOV","PF","+/-","type"
"NYK","NYK @ UTA","01/26/2021","2020-21","L",240,94,36,83,43.4,10,27,37,12,17,70.6,9,35,44,15,6,4,12,21,-14,"Regular Season"
"UTA","UTA vs. NYK","01/26/2021","2020-21","W",240,108,37,92,40.2,15,48,31.3,19,22,86.4,17,36,53,24,6,5,6,14,14,"Regular Season"
"HOU","HOU vs. WAS","01/26/2021","2020-21","W",240,107,37,88,42,12,37,32.4,21,29,72.4,8,36,44,16,13,4,14,17,19,"Regular Season"
"WAS","WAS @ HOU","01/26/2021","2020-21","L",240,88,33,84,39.3,5,26,19.2,17,23,73.9,11,38,49,19,7,3,21,22,-19,"Regular Season"
"LAC","LAC @ ATL","01/26/2021","2020-21","L",240,99,36,89,40.4,8,26,30.8,19,22,86.4,13,33,46,23,11,4,12,19,-9,"Regular Season"
"ATL","ATL vs. LAC","01/26/2021","2020-21","W",240,108,37,80,46.3,10,26,38.5,24,25,96,9,37,46,20,7,9,14,17,9,"Regular Season"
@erdavis1
erdavis1 / thumbs.csv
Created August 17, 2020 02:36
descriptions of thumbs
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
"","sent","title","auth","owner"
"1","“It’s sort of interesting when you think about it,” said Jane, glancing at the photo once before she flicked it off with her thumb.","BIG LITTLE LIES","Liane Moriarty","her"
"2","Beloved watched the work her thumbs were doing and must have loved what she saw because she leaned over and kissed the tenderness under Sethe’s chin.","Beloved ","Toni Morrison","her"
"3","She’s sitting on the floor with a terrified little girl… looks too old to still be sucking her thumb, but she’s sucking it for all she’s worth… This momma’s not fat at all.","BACK TO BLOOD","Tom Wolfe","her"
"4","She put her thumb against one of the locks and slid it.","Atonement","Ian McEwan","her"
"5","Maryanne could see the way the starched white crown of her habit bit into her forehead, pressing against her brows, and later would see when Sister pushed it back with her thumbs how the edge of it had turned her dark skin red.","At Weddings and Wakes ","Alice McDermott","her"
"6","Megan stands miserably next t
@erdavis1
erdavis1 / Processallbooks.R
Created May 21, 2020 19:32
Process all books code outline
library(reticulate)
library(cleanNLP)
library(dplyr)
library(stringr)
library(tidyr)
library(textstem)
setwd("C:/Users/Erin/Documents/DataViz/Adjectives/")
options(stringsAsFactors = FALSE)
We couldn’t find that file to show.
#run this once to install these packages. Once they're installed, you don't need to run it again
install.packages(c('sf', 'tidyverse', 'rworldmap', 'ggthemes'))
#load up the libraries. You need to do this once per session; when you close out R they'll be unloaded
library(sf)
library(tidyverse)
library(rworldmap)
library(ggthemes)
#----get a map of ireland----
@erdavis1
erdavis1 / waterfalls.csv
Created January 12, 2020 16:49
waterfalls from OpenStreetMap
osm_id name X Y
653800087 Brooks Falls -155.7915941 58.5549594
5726894122 Nanaue Falls (End of King's Trail) -155.609903 20.1044557
2400038173 Hi'ilawe Falls -155.5964072 20.0942316
7006225334 Hakalaoa Falls -155.5951971 20.0943699
2400038192 Ipuu Falls -155.5893806 20.0982371
2220267142 Poakana Falls -155.1907258 19.7058727
2220267333 Wailoa Falls -155.1663284 19.7081842
6579217645 -155.1615845 19.8562623
2933785623 -155.1576824 19.8759918
@erdavis1
erdavis1 / RoadLength
Created July 4, 2019 17:10
Road Length by Suffix
This file has been truncated, but you can view the full file.
GEOID,State,CountyName,Suffix,Len (meters)
01001,Alabama,Autauga County,NA,950779.5849
01001,Alabama,Autauga County,Aly,224.7535255
01001,Alabama,Autauga County,Ave,13493.13677
01001,Alabama,Autauga County,Blvd,7228.355573
01001,Alabama,Autauga County,Cir,10225.44919
01001,Alabama,Autauga County,Cmn,137.7920159
01001,Alabama,Autauga County,Co Rd,925888.9013
01001,Alabama,Autauga County,Ct,28128.11891
@erdavis1
erdavis1 / BakeOff
Created June 15, 2019 02:53
Great British Bakeoff Technical Challenges
Ssn,Ep,Item,Whose,Link,Books,Components,IngredCount,RecipeSentences,Dishes,DifficultyScore
1,1,Victoria Sandwich,Mary,https://thegreatbritishbakeoff.co.uk/victoria-sandwich-cake/,1950,2,9,25,5,3.2
1,2,Scone,Paul,https://thegreatbritishbakeoff.co.uk/scones/,15500,1,5,15,6,1.8
1,3,Cob,Paul,https://www.bbc.com/food/recipes/paul_hollywoods_crusty_83536,430,1,6,40,9,5.6
1,4,Lemon Souffle,Mary,https://www.bbc.com/food/recipes/mary_berrys_lovely_lemon_73914,1830,1,10,43,8,5.2
1,5,Cornish pasties,Paul,https://www.bbc.com/food/recipes/classic_cornish_pasty_67037,3600,2,11,32,4,3.4
2,1,Coffee and Walnut Battenburg,Mary,https://www.bbc.com/food/recipes/coffee_and_walnut_88342,995,3,13,38,4,5.4
2,2,Tart au Citron,Mary,https://www.bbc.com/food/recipes/tarte_au_citron_94480,715,2,9,37,4,4.4
2,3,Focaccia,Paul,https://www.bbc.com/food/recipes/focaccia_08389,73900,1,6,10,4,1
2,4,Brandy snaps,Mary,https://www.bbc.com/food/recipes/brandy_snaps_47363,1770,1,6,23,5,2.4