Léxico Bing com inner join

Análise de Sentimentos em R

Ted Kwartler

Data Dude

Joins entre tabelas

Diagramas de Venn de joins

Análise de Sentimentos em R

dplyr joins

inner_join(x, y, ...)
left_join(x, y, ...)
right_join(x, y, ...)
full_join(x, y, ...)
semi_join(x, y, ...)
anti_join(x, y, ...)

Declarar o parâmetro by:

inner_join(x, y, by = "shared_column")

ou

inner_join(x, y, by = c("a" = "b"))
Análise de Sentimentos em R

Comparando inner e anti joins

Venn de inner join

inner_join(
  text_table,
  subjectivity_lexicon,
  by = "word_column"
)

Venn de anti join

anti_join(
  text_table,
  stopwords_table,
  by = "word_column"
)
Análise de Sentimentos em R

Começando com positivo/negativo

 

exemplo de contagem

Análise de Sentimentos em R

Vamos praticar!

Análise de Sentimentos em R

Preparing Video For Download...