Skip to contents

A table of the history with its columns and their types, and no rows.

Usage

empty_table(name)

Arguments

name

The name of a table of the history, such as "repos" or "views".

Value

A data frame without rows.

Examples

str(rghcard:::empty_table("views"))
#> 'data.frame':	0 obs. of  4 variables:
#>  $ repo   : chr 
#>  $ date   : chr 
#>  $ count  : num 
#>  $ uniques: num