
Change interaction codes from numeric labels to string labels
Source:R/acled_transform_interaction.R
      acled_transform_interaction.RdThis function allows users to change from numeric interaction codes (i.e. 1, 2, 3, etc) to string interaction codes (i.e. State Forces, Rebel Group, etc.)
Value
Returns a tibble of of ACLED events with modified inter1, inter2 and potentially interaction columns .
See also
Other Data Manipulation:
acled_transform_longer(),
acled_transform_wider()
Examples
if (FALSE) { # \dontrun{
# Load data frame
argen_acled <- acled_api(
  email = "your_email", password = "your_password",
  country = "Argentina", start_date = "2022-01-01", end_date = "2022-02-01"
)
# Transform the interactions
argen_acled_transformed <- acled_transformation_interaction(argen_acled, only_inters = F)
} # }