1 2 3 4 5 6 7 8 9 10 11 12 13
| (page as number) as table =>
let 源 = Json.Document(Web.Contents("https://api.evemarketer.com/ec/marketstat/json?typeid=" & Number.ToText(page) & "®ionlimit=10000002&system=60003760")), 源1 = 源{0}, sell = 源1[sell], 转换为表 = Record.ToTable(sell), 转置表 = Table.Transpose(转换为表), 提升的标题 = Table.PromoteHeaders(转置表, [PromoteAllScalars=true]), 更改的类型 = Table.TransformColumnTypes(提升的标题,{{"forQuery", type any}, {"volume", Int64.Type}, {"wavg", type number}, {"avg", type number}, {"variance", type number}, {"stdDev", type number}, {"median", type number}, {"fivePercent", type number}, {"max", Int64.Type}, {"min", type number}, {"highToLow", type logical}, {"generated", Int64.Type}}), 删除的列 = Table.RemoveColumns(更改的类型,{"forQuery"}) in 删除的列
|