Learn R Programming

ankiR (version 0.6.0)

fsrs_from_csv: Import review data from CSV for analysis

Description

Import review data from CSV for analysis

Usage

fsrs_from_csv(
  file,
  date_col = "date",
  rating_col = "rating",
  card_col = "card_id",
  date_format = "%Y-%m-%d"
)

Value

A tibble with standardized review data

Arguments

file

Path to CSV file

date_col

Name of date column

rating_col

Name of rating column

card_col

Name of card ID column

date_format

Date format string

Examples

Run this code
if (FALSE) {
reviews <- fsrs_from_csv("reviews.csv", date_col = "date", rating_col = "grade")
}

Run the code above in your browser using DataLab