timeline: Retrieve Timeline

Description Usage Arguments Value Author(s) References Examples

View source: R/timeline.R

Description

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

Usage

1
2
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 [email protected]

References

See citation("bibliographica")

Examples

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

rOpenGov/bibliographica documentation built on Jan. 21, 2018, 7:50 p.m.