我使用Tableau Desktop创建仪表板。我链接了一个postgresql数据库来做到这一点。在我的一个专栏中,我有一些JSON数据,如下所示:
{
"Head": {"count": 7, "cumul_time": 11.7425, "start_time": 1509372084.231364, "prev": 3.0, "bad_at": 4},
"Spine": {"count": 1, "cumul_time": 28.6284, "start_time": 1509372013.177559, "prev": 1.0, "bad_at": 4},
"WristRight": {"count": 1, "cumul_time": 0.0, "start_time": 1509371967.944035, "prev": 1.0, "bad_at": 1},
"ElbowLeft": {"count": 33, "cumul_time": 116.9077, "start_time": 1509372097.139932, "prev": 1.0, "bad_at": 2},
"ShoulderRight": {"count": 4, "cumul_time": 57.1627, "start_time": 1509372093.4216, "prev": 3.0, "bad_at": 4},
"WristLeft": {"count": 1, "cumul_time": 0.0, "start_time": 1509371967.944908, "prev": 1.0, "bad_at": 1},
"ElbowRight": {"count": 5, "cumul_time": 115.3749, "start_time": 1509371995.583759, "prev": 1.0, "bad_at": 2},
"ShoulderLeft": {"count": 2, "cumul_time": 15.1435, "start_time": 1509372090.531815, "prev": 2.0, "bad_at": 4}
}
所以我想以某种方式提取它以显示身体的哪个部分被最多使用并显示它。 我有点失落我试图使用REGEX或创建一个视图,但它在数据库中存储为一个字符串。