PHP code example of madmanlear / midaas
1. Go to this page and download the library: Download madmanlear/midaas library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
madmanlear / midaas example snippets
$midaas = new Madmanlear\Midaas;
$fields = [
'sex' => 'female',
'state' => 'GA',
];
//Return an Object
$distrubition_results = $midaas->incomeDistribution($fields);
//Return JSON
$quantile_results = $midaas->incomeQuantile($fields, true);
print_r($distrubition_results);
print_r($quantile_results);