read_fah_logs: Ingest Data

Description Usage Arguments Value Examples

View source: R/ingest.R

Description

Gather data from logs and other sources.

read_fah_logs: Takes a path to a directory of FaH Client log stats and returns the logs parsed into a tibble (data frame).

clean_logs: Takes the output of read_fah_logs() and returns a cleaner tibble with dates and time types created. The output data frame is quite sparse and will include data in many different formats,i.e. there are lots of columns, none of them named, and lots of NA's. We must further split/clean the data to get tidy data.

Usage

1
read_fah_logs(logs_path_df, logs_path)

Arguments

logs_path

A path string to the FaH Client logs.

Value

read_fah_logs: Tibble of parsed log data.

Examples

1
2
3
# Windows 10:
my_log_data <- read_fah_logs("~/../AppData/Roaming/FAHClient/logs/")
summary(my_log_data)

cormac85/fahlogstats documentation built on June 25, 2020, 10:13 a.m.