Adds a heatmap about how often a key was pressed on keyboard from track_keyboard

clean_keyboard(keys, ggkeyboard = ggkeyboard::tkl)

Arguments

keys

A data.frame with data tracked by track_keyboard

ggkeyboard

An input keyboard from ggkeyboard.

Examples

clean_keyboard(key_df, ggkeyboard = ggkeyboard::mac)
#> # A tibble: 429 x 2 #> key date #> <chr> <dttm> #> 1 Command Left 2021-01-10 18:13:09 #> 2 Shift Left 2021-01-10 18:13:09 #> 3 N 2021-01-10 18:13:09 #> 4 M 2021-01-10 18:13:12 #> 5 O 2021-01-10 18:13:12 #> 6 U 2021-01-10 18:13:12 #> 7 S 2021-01-10 18:13:12 #> 8 E 2021-01-10 18:13:12 #> 9 Shift Right 2021-01-10 18:13:12 #> 10 _- 2021-01-10 18:13:12 #> # … with 419 more rows