Reads a table of the history from its CSV file in dir, with the columns and the
types of the table.
Examples
head(rghcard:::read_table(system.file("extdata", "example", package = "rghcard"), "views"))
#> repo date count uniques
#> 1 tidysurvey 2026-11-03 18 10
#> 2 tidysurvey 2026-11-04 11 6
#> 3 tidysurvey 2026-11-05 8 5
#> 4 tidysurvey 2026-11-06 21 9
#> 5 tidysurvey 2026-11-07 10 6
#> 6 tidysurvey 2026-11-08 4 3