Take the provided data "Birth_names" as example, in Slice Edit page, you have below
Parameters -->
"metric": "sum__num",
"metrics": [
"sum__sum_girls",
"sum__sum_boys"
]
Commented as :"These parameters are generated dynamically when clicking the save or overwrite button in the explore view. This JSON object is exposed here for reference and for power users who may want to alter specific parameters."
And if I check birth_names.csv, I have"state,year,name,gender,num" columns; check birth_names.json, there is "ds,gender,name,num,state,sum_boys,sum_girls"
Check data/__init__.py, I found params = get_slice_json(... metrics = ['sum__sum_girls', 'sum__sum_boys']...). I guess this is where metrics parameter are added. But is this "sum__" a predefined prefix? Same for "avg__"? Can I define other metrics? What's the difference between metric and metrics?
And where is the explore view?
Thanks a lot for any comment.