Skip to content

Instantly share code, notes, and snippets.

@agricolamz
Created April 18, 2024 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agricolamz/302e5f2effdd703a45cd9cb68c466c40 to your computer and use it in GitHub Desktop.
Save agricolamz/302e5f2effdd703a45cd9cb68c466c40 to your computer and use it in GitHub Desktop.
library(tidyverse)
library(bib2df)
bib2df("verbal_negation.bib") |>
rowwise() |>
mutate(AUTHOR = str_c(AUTHOR, collapse =" and "),
EDITOR = str_c(EDITOR, collapse =" and ")) |>
write_tsv("verbal_negation.tsv")
bib2df("verbal_negation_spec.bib") |>
rowwise() |>
mutate(AUTHOR = str_c(AUTHOR, collapse =" and "),
EDITOR = str_c(EDITOR, collapse =" and ")) |>
write_tsv("verbal_negation_spec.tsv")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment