2017 © Pedro Peláez
 

project percentilerank-example

Percentile Rank Calculator Example.

image

michaeltintiuc/percentilerank-example

Percentile Rank Calculator Example.

  • Thursday, October 19, 2017
  • by michaeltintiuc
  • Repository
  • 0 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Percentile Rank

An example application for calculating percentile ranks, (*1)

Installation

Create a folder for your project and enter it, (*2)

mkdir percentilerank-example && cd "$_"

Pull the project files, (*3)

composer create-project michaeltintiuc/percentilerank-example .

Usage

When running application via Web Server set the Document Root to public/, (*4)

Run application via CLI, (*5)

php public/index.php

Create the application with a parser (csv or json), (*6)

/**
 * @param string type of parser
 */
$app = new MichaelT\App('csv');

Load file to be read by the parser, (*7)

/**
 * @param string path to file
 */
$app->parser()->loadFile(__DIR__.'/../input.csv');

Calculate percentile rank from file data, (*8)

/**
 * @param string|int index/key of score of interest
 * @param string|int index/key to hold percentile rank
 */
$data = $app->calculateRank(2, 'rank');

Save result to file via created parser, (*9)

/**
 * @param string path to file
 * @param array data to save
 * @param string|int|array key/index of array to skip
 */
$app->parser()->exportFile(__DIR__.'/../output.csv', $data, 0);

The Versions

19/10 2017

dev-master

9999999-dev https://github.com/michaeltintiuc/percentilerank-example

Percentile Rank Calculator Example.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

statistics rank percentile

19/10 2017

dev-feature-cleanup

dev-feature-cleanup https://github.com/michaeltintiuc/percentilerank-example

Percentile Rank Calculator Example.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

statistics rank percentile

25/01 2017

v0.0.5

0.0.5.0 https://github.com/michaeltintiuc/percentilerank-example

Percentile Rank Calculator Example.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

statistics rank percentile

24/01 2017

v0.0.4

0.0.4.0

Percentile Rank Calculator Example.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

statistics rank percentile

22/01 2017

v0.0.3

0.0.3.0

Percentile Rank Calculator Example.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

statistics rank percentile

22/01 2017

v0.0.2

0.0.2.0

Percentile Rank Calculator Example.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

statistics rank percentile

22/01 2017

v0.0.1

0.0.1.0

Percentile Rank Calculator Example.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

statistics rank percentile