WikiNewZealand / fundamental-figures

0 stars 0 forks source link

Time period #4

Closed natdudley closed 5 years ago

natdudley commented 5 years ago

We also need to be able to include the timeframe column header (in this case, "Year ended February")

I think it's best to place this in a separate cell

year, 2018 quarter, 2018Q2 year ended february, 2018.

Spksh commented 5 years ago

@natdudley Can you give me an example dataset link?

natdudley commented 5 years ago

applies to all data sets, but e.g.

desired outcome for this data set would be to show the header for the time period column after the year, e.g. 2018, Year ended June (in the next cell over, before the URL)

        {
            "uri": "https://figure.nz/table/mJfUOl7H7J6IlLUe/download",
            "parent": "Life",
            "measure": { 
                "column": "Dog control statistics category", 
                "group": { 
                    "column": "Subcategory",
                    "separator": "—"
                },
                "include": [ 
                    {
                        "value": "Registered dogs (total)"
                    },
                    {
                        "value": "Owners",
                        "label": "Dog owners"
                    },
                    {
                        "value": "Ministry of Justice Statistics"
                    },
                    {
                        "value": "Accident Compensation Corporation Statistics",
                        "label": "ACC Statistics"
                    }

                ],
                "exclude": [ ] 
            },
            "category": { 
                "column": "Item", 
                "include": [ ],
                "exclude": [ ] 
            },
            "date": "Year ended June"
        },