Skip to content

Commit

Permalink
style pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinvoicu committed Mar 25, 2024
1 parent f97f6d0 commit 58544a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/dvloader.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ load_data <- function(sub_dir = NULL, file_names, use_wd = FALSE, prefer_sas = F
}

# create the output
data_list <- create_data_list(study_path, file_names, prefer_sas) #nolint
data_list <- create_data_list(study_path, file_names, prefer_sas) # nolint

return(data_list)
}
9 changes: 5 additions & 4 deletions vignettes/loading-data-into-memory.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ Note: `use_wd = T` can be used to source from local folder. Just set your workin

```{r}
test_data_path <- "../inst/extdata"
data_list <- load_data(sub_dir = test_data_path,
file_names = "dummyads2",
use_wd = TRUE)
data_list <- load_data(
sub_dir = test_data_path,
file_names = "dummyads2",
use_wd = TRUE
)
class(data_list)
class(data_list[["dummyads2"]])
head(data_list[["dummyads2"]])
```

Get the dataframe's metadata through its attributes:
Expand Down

0 comments on commit 58544a3

Please sign in to comment.