Skip to contents

Memberships database have actor column(s) and treaty column(s) but information on the other countries that are party to the treaties is often hard to read. The function generates a dataframe of treaty IDs and actors to a certain treaty.

Usage

retrieve_membership_list(database, actor, id)

Arguments

database

A database

actor

An actor level variable (e.g. country)

id

A treaty ID variable

Value

A dataframe of treaty IDs and actors part of the treaty

Examples

if (FALSE) {
sample <- manyenviron::memberships$IEADB_MEM
retrieve_membership_list(actor = sample$CountryID, id = sample$manyID)
retrieve_membership_list(manyenviron::memberships)
}