lisc.analysis.words.get_all_counts

lisc.analysis.words.get_all_counts(data, attribute, combine=False)[source]

Get all counts for a field of interest.

Parameters
datawords or list of ArticlesAll

Article data to extract counts for an attribute of interest.

attributestr

The attribute to extract from the data.

combinebool, optional, default: False

Whether to combine the counts across all search terms.

Returns
countslist

Extracted counts from across all the data objects.