Skip to contents

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())

Examples

if (FALSE) { # \dontrun{

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()
} # }