Introduction #

Join process help to join two data sources based on the matching of key columns. Imagine you may have data from different sources: some in databases, some in csv, others from excel files. You may interest in joining those sources into one to produce meanningful insight.

Examples #

use \koolreport\processes\Join;
class MyReport extends \koolreport\KoolReport
    public function setup()
        $user_source = $this->src('user_source')->query("select id,name from users");
        $purchase_source = $this->src('purchase_source')->query("select user_id,item,amount from purchases");
        //Note that: user_source and purchase_source can be from different database
        $join = new Join($user_source,$purchase_source,array("id"=>"user_id"));

Get started with KoolReport

KoolReport will help you to construct good php data report by gathering your data from multiple sources, transforming them into valuable insights, and finally visualizing them in stunning charts and graphs.