entries <- c(
"@article{key1,
author = {Smith J},
title = {First Example},
journal = {Journal One},
year = {2024}
}",
"@book{key2,
author = {Jones K},
title = {Second Example},
publisher = {Publisher},
year = {2024}
}"
)
citations <- format_batch_ama_citation(entries)
Run the code above in your browser using DataLab