ebelinski / iosref

A one-stop quick reference spot for iOS developers. πŸ”Ž
https://iosref.com
Other
188 stars 20 forks source link

CSV format #37

Open milanbrahmbhatt opened 12 months ago

milanbrahmbhatt commented 12 months ago

To be able to use this dataset for analysis, trends, etc it would be helpful to provide it in tabular format (not using colspan/rowspan). Ideally, the dataset would be in csv/json/etc format, then parsed and displayed on iosref.com.

For example for RAM by processor dataset, this could be the format for json -

test = {
  "iPhone": [
    {
      "device": "iPhone 14 Pro Max",
      "released": 2022,
      "ram": "6 GB",
      "processor": "A16 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 14 Pro",
      "released": 2022,
      "ram": "6 GB",
      "processor": "A16 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 14 Plus",
      "released": 2022,
      "ram": "6 GB",
      "processor": "A15 Bionic",
      "processor type": "5-core GPU",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 14",
      "released": 2022,
      "ram": "6 GB",
      "processor": "64-bit",
      "processor type": "5-core GPU",
      "data width": "A15 Bionic"
    },
    {
      "device": "iPhone SE (gen 3)",
      "released": 2022,
      "ram": "4 GB",
      "processor": "A15 Bionic",
      "processor type": "4-core GPU",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 13 Pro Max",
      "released": 2021,
      "ram": "6 GB",
      "processor": "A15 Bionic",
      "processor type": "5-core GPU",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 13 Pro",
      "released": 2021,
      "ram": "6 GB",
      "processor": "A15 Bionic",
      "processor type": "5-core GPU",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 13",
      "released": 2021,
      "ram": "4 GB",
      "processor": "A15 Bionic",
      "processor type": "4-core GPU",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 13 mini",
      "released": 2021,
      "ram": "4 GB",
      "processor": "A15 Bionic",
      "processor type": "4-core GPU",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 12 Pro Max",
      "released": 2020,
      "ram": "6 GB",
      "processor": "A14 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 12 Pro",
      "released": 2020,
      "ram": "6 GB",
      "processor": "A14 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 12",
      "zt_device_name": "iPhone133",
      "released": 2020,
      "ram": "4 GB",
      "processor": "A14 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 12 mini",
      "released": 2020,
      "ram": "4 GB",
      "processor": "A14 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone SE (gen 2)",
      "released": 2020,
      "ram": "3 GB",
      "processor": "A13 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 11 Pro Max",
      "released": 2019,
      "ram": "4 GB",
      "processor": "A13 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 11 Pro",
      "released": 2019,
      "ram": "4 GB",
      "processor": "A13 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 11",
      "released": 2019,
      "ram": "4 GB",
      "processor": "A13 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone XS Max",
      "released": 2018,
      "ram": "4 GB",
      "processor": "A12 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone XS",
      "released": 2018,
      "ram": "4 GB",
      "processor": "A12 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone XR",
      "released": 2018,
      "ram": "3 GB",
      "processor": "A12 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone X",
      "released": 2017,
      "ram": "3 GB",
      "processor": "A11 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 8 Plus",
      "released": 2017,
      "zt_device_name": "iPhone105",
      "ram": "3 GB",
      "processor": "A11 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 8",
      "zt_device_name": "iPhone101",
      "released": 2017,
      "ram": "2 GB",
      "processor": "A11 Bionic",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 7 Plus",
      "released": 2016,
      "ram": "3 GB",
      "processor": "A10 Fusion",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 7",
      "released": 2016,
      "ram": "2 GB",
      "processor": "A10 Fusion",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone SE",
      "released": 2016,
      "ram": "2 GB",
      "processor": "A9",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 6s Plus",
      "released": 2015,
      "ram": "2 GB",
      "processor": "A9",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 6s",
      "released": 2015,
      "ram": "2 GB",
      "processor": "A9",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 6 Plus",
      "released": 2014,
      "ram": "1 GB",
      "processor": "A8",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 6",
      "released": 2014,
      "ram": "1 GB",
      "processor": "A8",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 5s",
      "released": 2013,
      "ram": "1 GB",
      "processor": "A7",
      "processor type": "",
      "data width": "64-bit"
    },
    {
      "device": "iPhone 5c",
      "released": 2013,
      "ram": "1 GB",
      "processor": "A6",
      "processor type": "",
      "data width": "32-bit"
    },
    {
      "device": "iPhone 5",
      "released": 2012,
      "ram": "1 GB",
      "processor": "A6",
      "processor type": "",
      "data width": "32-bit"
    },
    {
      "device": "iPhone 4s",
      "released": 2011,
      "ram": "512 MB",
      "processor": "A5",
      "processor type": "",
      "data width": "32-bit"
    },
    {
      "device": "iPhone 4",
      "released": 2010,
      "ram": "512 MB",
      "processor": "A4",
      "processor type": "",
      "data width": "32-bit"
    },
    {
      "device": "iPhone 3GS",
      "released": 2009,
      "ram": "256 MB",
      "processor": "β€”",
      "processor type": "",
      "data width": "32-bit"
    },
    {
      "device": "iPhone 3G",
      "released": 2008,
      "ram": "128 MB",
      "processor": "β€”",
      "processor type": "",
      "data width": "32-bit"
    },
    {
      "device": "iPhone (gen 1)",
      "released": 2007,
      "ram": "128 MB",
      "processor": "β€”",
      "processor type": "",
      "data width": "32-bit"
    }
  ]
}
axelkar commented 10 months ago

I'd really like this feature

CraigSiemens commented 2 weeks ago

πŸ‘ for having the data available in a machine readable format (CSV, JSON, etc).