Database Reference
In-Depth Information
How it works…
Let's take a look at this in more detail:
(i/$join [:Indicator-Code :Indicator-Code] chn-1990 chn-2000)
The pair of column keywords in a vector (
[:Indicator-Code :Indicator-Code]
) are the
keys that the datasets will be joined on. In this case, the
:Indicator-Code
column from
both the datasets is used, but the keys can be different for the two datasets. The irst column
that is listed will be from the irst dataset (
chn-1990
), and the second column that is listed
will be from the second dataset (
chn-2000
).
This returns a new dataset. Each row of this new dataset is a superset of the corresponding
rows from the two input datasets.