forked from Al-Murphy/MungeSumstats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
parse_logs.Rd
33 lines (31 loc) · 855 Bytes
/
parse_logs.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parse_logs.R
\name{parse_logs}
\alias{parse_logs}
\title{Parse data from log files}
\usage{
parse_logs(
save_dir = getwd(),
pattern = "MungeSumstats_log_msg.txt$",
verbose = TRUE
)
}
\arguments{
\item{save_dir}{Top-level directory to recursively search
for log files within.}
\item{pattern}{Regex pattern to search for files with.}
\item{verbose}{Print messages.}
}
\value{
\link[data.table]{data.table} of parsed log data.
}
\description{
Parses data from the log files generated by
\link[MungeSumstats]{format_sumstats} or
\link[MungeSumstats]{import_sumstats} when the argument
\code{log_mungesumstats_msgs} is set to \code{TRUE}.
}
\examples{
save_dir <- system.file("extdata",package = "MungeSumstats")
log_data <- MungeSumstats::parse_logs(save_dir = save_dir)
}