autoMerge

PreprocessResource.autoMerge(request, sub_analysis_id, **kwargs)

Prior mandatory steps 1) Upload dataset 2) Create analysis 3) Create sub analysis 4) DataSharp

This function is used with GET method to obtain the categorical merged data after fastFill. For more information, please read the dataSharp section.

Arguments

sub_analysis_id Give sub analysis id

Possible errors

Error message
Invalid sub analysis id

GET Request Example

curl -u username:password {url_prefix}/automerge/{sub_analysis_id}/

Response Example

{
    "error": false,
    "error_msg": "",
    "result": [
        {
            "attribute_name": "month",
            "merged_levels": [
                {
                    "new_level": "apr_aug",
                    "old_level": "apr,aug"
                },
            ]
        }
    ]
}