Skip to content

Commit 785e3fe

Browse files
committed
update
1 parent 0caffdf commit 785e3fe

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

R/bg_df.R

+7-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ library(googlesheets4)
44

55
# Create df ---------------------------------------------------------------
66

7-
con <- googlesheets4::read_sheet("https://docs.google.com/spreadsheets/d/1UXBQs_tu0cRYN3XDEPsq3MxlUNvryPEnR-ClSp2uipo/edit?gid=0#gid=0",
7+
link <- "https://docs.google.com/spreadsheets/d/1UXBQs_tu0cRYN3XDEPsq3MxlUNvryPEnR-ClSp2uipo/edit?usp=sharing"
8+
9+
con <- googlesheets4::read_sheet(link,
810
sheet = "conferences") %>% mutate(activity = "conferences")
9-
edu <- googlesheets4::read_sheet("https://docs.google.com/spreadsheets/d/1UXBQs_tu0cRYN3XDEPsq3MxlUNvryPEnR-ClSp2uipo/edit?gid=0#gid=0",
11+
edu <- googlesheets4::read_sheet(link,
1012
sheet = "edu") %>% mutate(activity = "education")
11-
int <- googlesheets4::read_sheet("https://docs.google.com/spreadsheets/d/1UXBQs_tu0cRYN3XDEPsq3MxlUNvryPEnR-ClSp2uipo/edit?gid=0#gid=0",
13+
int <- googlesheets4::read_sheet(link,
1214
sheet = "internships") %>% mutate(activity = "research stays")
13-
emp <- googlesheets4::read_sheet("https://docs.google.com/spreadsheets/d/1UXBQs_tu0cRYN3XDEPsq3MxlUNvryPEnR-ClSp2uipo/edit?gid=0#gid=0",
15+
emp <- googlesheets4::read_sheet(link,
1416
sheet = "work") %>% mutate(activity = "employment")
15-
team <- googlesheets4::read_sheet("https://docs.google.com/spreadsheets/d/1UXBQs_tu0cRYN3XDEPsq3MxlUNvryPEnR-ClSp2uipo/edit?gid=0#gid=0",
17+
team <- googlesheets4::read_sheet(link,
1618
sheet = "team")
1719

1820
full_df <- full_join(con, edu, by = c("start_date", "end_date", "city", "country", "name", "who", "activity")) %>%

0 commit comments

Comments
 (0)