https://github.com/cormac85/fahlogstats
R library for analysing Folding@Home client log data
https://github.com/cormac85/fahlogstats
folding-at-home foldingathome logs r tidy-data
Last synced: 5 months ago
JSON representation
R library for analysing Folding@Home client log data
- Host: GitHub
- URL: https://github.com/cormac85/fahlogstats
- Owner: cormac85
- License: other
- Created: 2020-04-16T19:41:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-19T22:54:05.000Z (almost 6 years ago)
- Last Synced: 2024-01-27T06:38:40.197Z (over 2 years ago)
- Topics: folding-at-home, foldingathome, logs, r, tidy-data
- Language: R
- Size: 162 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fahlogstats
R library for analysing Folding@Home client log data.
Sister library to the Shiny dashboard [(fahdashboard)](https://github.com/cormac85/fahdashboard) that intends
to provide insights about your folding slots, such as network data usage and credits earned.
## Installation
```R
devtools::install_github("cormac85/fahlogstats")
```
## Usage
```R
logs_path <- "~/../AppData/Roaming/FAHClient/logs/"
logs_df <-
read_fah_logs_dir(logs_path) %>%
clean_logs()
logs_df %>%
get_work_unit_data() %>%
get_credits() %>%
plot_credits(all_slots = TRUE)
logs_df %>%
get_work_unit_data() %>%
get_network_usage() %>%
calculate_daily_network_usage() %>%
plot_cumulative_network_usage()
```
## Background
On Windows the Folding@Home client stores the current log that you see in the Advanced Client
in `~/AppData/Roaming/FAHClient/log.txt`, and also stores 16 days worth of logs in `~/AppData/Roaming/FAHClient/logs/`.
This library is intended to parse those logs into various types of tidy dataframes and then provide subsequent
analysis with plots and summaries.