timeline: Retrieve Timeline

timelineR Documentation

Retrieve Timeline

Description

Timeline data for selected variable (possibly across various groups).

Usage

timeline(
  x,
  field = "titlecount",
  group = NULL,
  nmin = 0,
  mode = "absolute",
  time.window = 10,
  time.field = "publication_year"
)

Arguments

x

data frame

field

Numeric field to summarize in the timeline. The number of entries (title count) per decade is used by default. If this argument is used, the sum of entries per decade for this field is given.

group

Optional. Name for a data field that indicates groups to compare.

nmin

Include only entries with at least nmin absolute frequency

mode

"absolute" or "relative"

time.window

Time window for the timeline in years. Default: 10 (publication decade).

time.field

Specify the field to be used for time. By default: "publication_year", or if time.window is 10, then "publication_decade"

Value

data.frame

Author(s)

Leo Lahti leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

## Not run: timeline(df, "gatherings")

rOpenGov/bibliographica documentation built on April 10, 2022, 8:51 p.m.