delete_journal_citation {EDIutils} | R Documentation |
Delete journal citation
Description
Delete journal citation
Usage
delete_journal_citation(journalCitationId, env = "production")
Arguments
journalCitationId |
(numeric) Journal citation identifier |
env |
(character) Repository environment. Can be: "production", "staging", or "development". |
Value
(logical) TRUE if deleted
Note
User authentication is required (see login()
)
See Also
Other Journal Citations:
create_journal_citation()
,
get_journal_citation()
,
list_data_package_citations()
,
list_principal_owner_citations()
Examples
## Not run:
login()
# Create journal citation
journalCitationId <- create_journal_citation(
packageId = "edi.17.1",
articleDoi = "https://doi.org/10.1890/11-1026.1",
articleTitle = "Corridors promote fire via connectivity and edge effects",
journalTitle = "Ecological Applications",
relationType = "IsCitedBy",
env = "staging"
)
journalCitationId
#> [1] 74
# Delete journal citation
delete_journal_citation(journalCitationId, env = "staging")
#> [1] TRUE
logout()
## End(Not run)
[Package EDIutils version 1.0.3 Index]