Skip to contents

report_last_modified() returns the last modified date and time of the report source: local file or remote file. If a local file, the modification date will be that indicated by the file system; if a remote file, the date of last update is that provided by HTTP header "last-modified".

MGI updates its reports weekly, every Thursday. However, not all reports are updated each week. The return value of this function is the closest you will get to a versioning of MGI report files.

Usage

report_last_modified(tbl)

Arguments

tbl

Report data as a tibble.

Value

A last modified date-time as a POSIXct

object.

Examples

if (FALSE) {
  markers <- read_report("marker_list1", n_max = 10L)

  # When was the report file last updated?
  report_last_modified(markers)
}