The following are helper functions for extracting data from hashed learnr solutions.

  • extract_hash - extracts the contents of the hashes into label, type, answer, correct, and timestamp columns

  • extract_questions - extracts the contents of the hashes for answered questions.

  • extract_exercises - extracts the contents of the hashes for answered exercises.

extract_hash(df, hash = "hash")

extract_exercises(df, hash = "hash")

extract_questions(df, hash = "hash")

Arguments

df

Data Frame. A data frame containing hash in a character column.

hash

Character. The name of the column containing the hashes