conjoin: Conjoin two data.frames together

Description Arguments Value Usage Details Author(s) Examples

Description

Take two Odessa data packages and join them together given the common field. If no field is specified, then use the greatest common factor based on the graph of each index.

Arguments

a

An Odessa data.frame

b

An Odessa data.frame

Value

A new data.frame conjoined on a common index

Usage

conjoin(a,b, field, ...)

Details

The power of Odessa is in being able to join datasets together without a lot of ceremony. Data that has been fetched via Odessa can be joined via their bindings. The ideal situation is that compatible bindings are inferred from the metadata and master graphs. Currently you have to specify the binding.

Author(s)

Brian Lee Yung Rowe

Examples

1
2
3
4
5
6
7
8
## Not run: 
df1 <- fetch('vbts-zqt4')
odessa.id(df1) <- 'vbts-zqt4.binding.csv'
df2 <- fetch('vz8e-347q')
odessa.id(df2) <- 'vz8e-347q.binding.csv'
conjoin(df1,df2, 'year')

## End(Not run)

zatonovo/odessa documentation built on May 4, 2019, 9:11 p.m.