Skip to content

Commit

Permalink
remove alternative code for term table
Browse files Browse the repository at this point in the history
  • Loading branch information
tklebel committed Jul 5, 2020
1 parent e2e0dc5 commit cf4f71f
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions 02-analysis-writeup.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -540,27 +540,6 @@ stemmed_words %>%
select(Term = word_stemmed, Variants = variants, `Term frequency` = n,
`Proportion of policies that contain term` = prop_of_texts) %>%
knitr::kable(caption = "Propensity of terms in co-review policies")
# top_terms %>%
# left_join(stemmed_words) %>%
# select(-policy_id) %>%
# distinct() %>%
# group_by(word_stemmed) %>% I
#
#
#
# mutate(variants = list(sample(unique(word), pmin(3, length(unique(word))))),
# variants = map_chr(variants, paste, collapse = "; ")) %>%
# select(-word) %>%
# distinct()
# select(Term = word_stemmed, Variants = variants, `Term frequency` = n,
# `Proportion of policies that contain term` = prop_of_texts)
#
```


Expand Down

0 comments on commit cf4f71f

Please sign in to comment.