Skip to content

Commit

Permalink
fixed file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelicaMaineri committed Sep 23, 2024
1 parent a62f86d commit c6d1284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data-prep/scripts/data_cleaning_CBS.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ library(tidyverse)

# Load data
getwd()
df = read.csv("./data-prep/data/odissei-projects_CBS.csv", encoding = "UTF-8")
df = read.csv("~/GitHub/odissei/ODISSEI-code-library/data-prep/data/odissei-projects_CBS.csv", encoding = "UTF-8")

#### Cleaning -------

Expand Down Expand Up @@ -43,7 +43,7 @@ df2 = df2[,c(1,3,7,5,6,2,4)]


## Export ----
write.csv(df2, "./_data/cbs.csv")
write.csv(df2, "~/GitHub/odissei/ODISSEI-code-library/_data/cbs.csv")



4 changes: 2 additions & 2 deletions data-prep/scripts/data_cleaning_LISS.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ library(stringr)

# Load data
getwd()
df = read.csv("./data-prep/data/odissei-projects_LISS.csv", encoding = "UTF-8")
df = read.csv("~/GitHub/odissei/ODISSEI-code-library/data-prep/data/odissei-projects_LISS.csv", encoding = "UTF-8")

#### Cleaning -------

Expand Down Expand Up @@ -44,4 +44,4 @@ colnames(df2) = c("Title", "Project lead", "ODISSEI grant", "Publication", "Data
df2 = df2[,c(1,2,7,4,5,6,3)]

## Export ----
write.csv(df2, "./_data/liss.csv")
write.csv(df2, "~/GitHub/odissei/ODISSEI-code-library/_data/liss.csv")

0 comments on commit c6d1284

Please sign in to comment.