Hi I have a large library of entries, and I'd like to split it up so there is a single .bib file for each entry. This seems to be the easiest and least error-prone way of importing them into R (as opposed to doing all of this inside R)
so for example:
@Article{ king2012cem,
author = {Iacus, Stefano M. and King, Gary and Porro, Giuseppe},
title = {Causal Inference without Balance Checking: {Coarsened}
Exact Matching},
number = {1},
pages = {1-24},
source = {Crossref},
timestamp = {2021-06-10},
year = {2012}
}
@Book{ koskinen2012ergm,
author = {Johan Koskinen, Dean Lusher, Garry Robins},
title = {Exponential Random Graph Models for Social Networks},
subtitle = {Theory, Methods, and Applications},
source = {Crossref},
year = {2012}
}
would each get their own .bib file, ideally named after their citekeys, so king2012cem.bib and koskinen2012ergm.bib.
I've looked at the manual for bibtool and biber to no avail. I could probably fix some regex to do it, but I'd rather use a tried-and-tested tool for it.
Thank you,
@
but how would you use the split files, it would be hard to use them from latex?\addbibresource
(if using biblatex) or\bibliography
(if using bibtex)?