generate_: Generate agreements

generate_R Documentation

Generate agreements

Description

Generates a list of fictional agreements or a list memberships to agreements.

Usage

generate_agreements(n = 10, treaty_type = "any")

generate_memberships(n = 10, treaty_type = "any", list = FALSE)

Arguments

n

Integer number of fictional agreements to generate.

treaty_type

What type of agreements would you like to generate? By default, "any" agreements. Other options include "bilaterals" or "multilaterals".

list

Would you like all members to an agreement be listed in the same observation? By default, FALSE. If TRUE, pastes all members to an agreement together in the same observation separating them with commas.

Value

String vector of fictional agreement names and/or memberships to agreements.

Examples


generate_agreements(12)
generate_agreements(12, treaty_type = "bilaterals")
generate_agreements(12, treaty_type = "multilaterals")


generate_memberships(12)
generate_memberships(12, treaty_type = "bilaterals")
generate_memberships(12, treaty_type = "multilaterals")
generate_memberships(12, list = TRUE)


globalgov/manyenviron documentation built on April 6, 2024, 4:18 a.m.