library(papaja)
generate_author_yml (
researchers = list(
"Emma J. Citizen" = c("example_hospital", "example_college"),
"John H. Smith" = "example_college",
"Kate C. Jones" = "example_hospital"
),
affiliations = list(
"example_hospital" = "Southern Example Hospital, NSW, Australia",
"example_college" = "New Example College, VIC, Australia"
),
corres_name = "Emma J. Citizen",
corres_address = "123 Example Street, Epping, NSW 2121",
corres_email = "jane@example.com"
)
Run the code above in your browser using DataLab