Skip to content

Commit

Permalink
Remove library(readr) from data_01 and data_02
Browse files Browse the repository at this point in the history
#33
Use double colon method instead.
  • Loading branch information
mbcann01 committed Apr 9, 2024
1 parent 96a1fac commit 99d8ea2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions data_management/data_01_aps_investigations_import.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ In this file, we import and do some initial cleaning of the APS Investigations d

```{r}
library(dplyr, warn.conflicts = FALSE)
library(readr)
library(purrr)
library(stringr)
library(janitor, warn.conflicts = FALSE)
Expand All @@ -27,7 +26,7 @@ aps_inv_path <- here::here("data", "filemaker_pro_exports", "aps_investigations_
```

```{r}
aps_inv <- read_csv(aps_inv_path)
aps_inv <- readr::read_csv(aps_inv_path)
```

```{r}
Expand Down Expand Up @@ -153,7 +152,7 @@ aps_inv_path <- here::here("data", "cleaned_rds_files", "aps_investigations_impo
```

```{r}
write_rds(aps_inv, aps_inv_path)
readr::write_rds(aps_inv, aps_inv_path)
```


Expand Down
5 changes: 2 additions & 3 deletions data_management/data_02_consent_import.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ In this file, we import and do some initial cleaning of the consent form data co
# Load packages

```{r, message= FALSE}
library(readr)
library(dplyr, warn.conflicts = FALSE)
library(janitor, warn.conflicts = FALSE)
```
Expand All @@ -25,7 +24,7 @@ consent_path <- here::here("data", "filemaker_pro_exports", "consent_import.csv"
```

```{r}
consent <- read_csv(consent_path)
consent <- readr::read_csv(consent_path)
```

```{r}
Expand Down Expand Up @@ -69,7 +68,7 @@ consent_path <- here::here("data", "cleaned_rds_files", "consent_import.rds")
```

```{r}
write_rds(consent, consent_path)
readr::write_rds(consent, consent_path)
```


Expand Down

0 comments on commit 99d8ea2

Please sign in to comment.