Skip to content

New metric request #17

@sambenni

Description

@sambenni

Metric request

Proposed Statistic/Metric: Count the numbers of General Modality

Justification: To see how many unique modalities of brain activity there are in the dataset.

Implementation Details

Data Source: The information needed to compute the statistic should come from this file https://download.brainimagelibrary.org/inventory/daily/reports/today.json or any file(s) listed in today.json.

Calculation Method: Count the number of unique modalities
def __get_number_of_general_modality(df):
return len(df['generalmodality'].unique())
numgeneralmodality = __get_number_of_general_modality(df)
print (numgeneralmodality)

Expected Output: At least 13

Additional Information

Stakeholders: All

Viz: Text

Impact: Analysis

Contributor: @sambenni

Checklist

  • I have reviewed the existing documentation to ensure the proposed statistic aligns with the scope and purpose.
  • I have provided sufficient details about the proposed statistic, including its calculation method and expected output.
  • I have referenced relevant documentation or resources that support the addition of the new statistic.
  • I have considered the potential impact and benefits of adding this statistic to the dataset.
  • I am willing to collaborate and work on implementing this new statistic, or I am seeking collaboration from others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions