Skip to content

Issue in batsmanDismissals() #5

@npranav10

Description

@npranav10

First of all , I would like to appreciate your dedication in framing this package!. Hats Off!

Coming to the issues,
I have been trying to analyze Vijay Shankar's ODI dismissals. (http://stats.espncricinfo.com/ci/engine/player/477021.html?class=2;filter=advanced;orderby=start;template=results;type=batting;view=innings). and I came across 2 following issues:

(I have traced the function)

  1. batsman <- clean(file) .
    After execution of this line only one record stays in his data
    image
    image

Similarly with Rishab Pant
image
image

  1. If I manually remove the above line (batsman <- clean(file) and continue execution line by line, It looks like there is an issue that might occur with any player i.e The individual dismissal type % is calculated with denominator containing total no of innings played rather than total number of times dismissed

What I mean is that
His stats should read
Not out : 0 %
Run out : 40 %
Caught : 60 %
Refer
image

as opposed to current metrics displaying
Not out : 44%
Run out : 22%
Caught : 33%
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions