Subset data frame for abstracts published in a specific period only.

subset_year(df, col.year = Year, start = NULL, end = NULL)

Arguments

df

Data frame containing publication years.

col.year

Symbol. Column containing publication years.

start

Integer. Optional. Beginning of publication period. If start = NULL, start is set to the least recent year in df.

end

Integer. Optional. End of publication period. If end = NULL, end is set to the most recent year in df.

Value

Data frame containing abstracts published in a specific period only.

Details

Subset data frame for abstracts published in a specific period only. All other abstracts published not within this period are silently dropped.

See also