Skip to content

DataScoringExport - Adding Weight #25

Description

@csith

I'm trying to export the data scoring values.
I have a CSV file that I convert to an AGD file. The AGD file does not have biometric information (weight).

I tried adding "weight" key to the JSON string before sending the request, but I get the error:

"Error": "Error calculating data scoring values: "C:\Users\compuser\Desktop\test.agd: enter weight for EE\r\n

Below is the request copied from the API Tester

{ "Action": "DataScoringExport", "Args": { "FileInputPaths": [ "C:\\Users\\compuser\\Desktop\\test.agd" ], "ExportLocation": "C:\\Users\\compuser\\Desktop\\testing", "BatchExportSheetOptions": { "AddDefinitionComments": false, "AddDefinitionWorksheet": false, "AddWtv": false, "ShowNonWear": false, "ShowSummary": false, "ShowDaily": true, "ShowHourly": false, "AddSleepScores": false, "ShowBoutDetails": true, "ShowSedentaryDetails": true }, "ExportFileType": 0, "FilterOptions": { "UseWTVData": false, "UseLogDiaries": false }, "CalculateEnergyExpenditure": true, "EnergyExpenditureOptions": { "Algorithm": "FreedsonSingleCombination", "Weight": 80.0 }, "CalculateMETs": false, "METOptions": { "Algorithm": "FreedsonEEAdult" }, "CalculateCutPoints": true, "CutPointOptions": { "Algorithm": "FreedsonAdult1998" }, "CalculateBouts": false, "CalculateSedentaryAnalysis": true, "IncludeExtraStatistics": true } }

If I exclude CalculateEngeryExpenditure or any item that needs weight, it works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions