dp <- open_datapackage(system.file(package = "datapackage", "examples/iris"))
dp_contributors(dp)
dp_contributors(dp) <- list(
new_contributor("John Doe", email = "j.doe@somewhere.org"),
list(title = "Jane Doe", role = "maintainer")
)
dp_add_contributor(dp) <- new_contributor("Janet Doe")
Run the code above in your browser using DataLab