Skip to contents

Returns all available snapshot dates for a format.

Usage

get_pagerank_snapshot_dates(format, conn, gender = NULL)

Arguments

format

Character. Match format: "t20", "odi", or "test".

conn

DBI connection to the database.

gender

Character. Gender category. Default NULL.

Value

Character vector of snapshot dates, or empty vector if none.

Examples

if (FALSE) { # \dontrun{
conn <- get_db_connection(read_only = TRUE)
dates <- get_pagerank_snapshot_dates("odi", conn)
DBI::dbDisconnect(conn, shutdown = TRUE)
} # }