returnDyad: Building a l dayd query element as source and target actors...

View source: R/AggFunctions.R

returnDyadR Documentation

Building a l dayd query element as source and target actors respectively

Description

This function returns a list of a query element of a source-target country dyad

Usage

returnDyad(table_name, source, target)

Arguments

table_name

A name of a data table. Input strings are NOT case-sensitive.

source

The name of a source country either an ISO code or a country name format

target

The name of a target country either an ISO code or a country name format

Value

A list of a dyad queary element of source and target countries

Note

Please use the consistent format for source and target countries such as '"USA", "CAN"“ or '"Uniated States", "Canada"'

Examples

 ## Not run: # building a dyad query of Syria as a source and the United State as a target
dyad <- returnDayd("pheonix_rt", "SYR", "USA")
## End(Not run)

KateHyoung/UTDEventData documentation built on Nov. 16, 2022, 2:29 p.m.