read_book_notes: Read in My Book Notes

Description Usage Arguments Details Value

View source: R/reading.R

Description

Reads in a plain text file of notes on books and returns a tidy data frame.

Usage

1
read_book_notes(source_file = NULL, diagnose_speed = FALSE)

Arguments

source_file

path to the plain-text file to pull book notes from. Will only work if used on a file with the same layout as mine. Default NULL.

diagnose_speed

a boolean; if TRUE, prints the time taken by the core (slow) loop in the function. Default FALSE.

Details

Designed for my own format of notes on books, including when I read them. Won't work on anything that doesn't match that formatting. Creates tolerably pretty variables.

Value

a data frame with bibliographic details of books as separate columns. Also includes start and end dates of reading each book and keywords I've noted for each.


AGDunn/nehnar documentation built on Feb. 8, 2022, 7:17 a.m.