【发布时间】:2021-12-30 03:33:57
【问题描述】:
我有一个 JSON 文件。我已经读过Lines
lines = readLines("D:/aaa/bbb/ccc/ddd.json")
lines = lapply(lines, fromJSON)
lines = lapply(lines, unlist)
a1 = bind_rows(lines)
在 readLines 之后我得到了这个
现在我想分成多列 预期输出:
| price_ori | delivery | item_category_detail |
|---|---|---|
| 5.52 | KL City | Health & Beauty |
| 3.40 | KL City | Health & Beauty |
| 14.90 | KL City | Health & Beauty |
【问题讨论】:
-
请为minimal reproducible example发布json样本。