plot_entity_sentiment_summary: Plots a summary of sentiment for entities.

Description Usage Arguments Value Examples

Description

Plots a summary of sentiment for entities.

Usage

1
2
3
  plot_entity_sentiment_summary(petitions, n = 10,
    substr_limit = 15,
    entity_types = c("Company", "Person", "Place", "Job Title"))

Arguments

petitions

with entity sentiments

n

the number of entities to plot. Will use the top entities

substr_limit

length of the entity text to limit to

entity_types

limits the entity_type to the given values, excluding all other entity types

Value

ggplot2 plot of entity sentiments

Examples

1
2

yoni/r_we_the_people documentation built on May 4, 2019, 5:31 p.m.