Skip to content

Headers? #7

@danfowler

Description

@danfowler

When I created a Data Package zip (or a Metatab Excel file), there are no headers written for the tables. This causes some Data Package tooling to fail. If intentional, I guess you could set header: false in the CSV Dialect, but probably better just to have the header there by default.

(demo-metatab)legend:data dan$ head -n 3 *
==> random-names.csv <==
Gabriel Rowland,54.9378140631
Jerry Gay,50.3511258436
Tucker Good,48.6469162116

==> renter_cost-2.csv <==
1,0O0P01,1447,13.6176070905,42.2481751825,8.272140707
2,0O0P03,5581,6.235932071,49.2803532009,4.9333693054
3,0O0P05,525,17.6481586483,45.2196382429,13.2887199931

==> renter_cost.csv <==
1,0O0P01,1447,13.6176070905,42.2481751825,8.272140707
2,0O0P03,5581,6.235932071,49.2803532009,4.9333693054
3,0O0P05,525,17.6481586483,45.2196382429,13.2887199931

==> renter_cost_excel07.csv <==
1.0,0O0P01,1447.0,13.6176070904818,42.2481751824818,8.27214070699712
2.0,0O0P03,5581.0,6.23593207100335,49.280353200883,4.9333693053569
3.0,0O0P05,525.0,17.6481586482953,45.2196382428941,13.2887199930555

==> renter_cost_excel97.csv <==
1.0,0O0P01,1447.0,13.617607090481798,42.24817518248175,8.272140706997119
2.0,0O0P03,5581.0,6.2359320710033455,49.280353200883006,4.933369305356901
3.0,0O0P05,525.0,17.64815864829525,45.21963824289406,13.288719993055548

==> simple-example-altnames.csv <==
1,eb385c36-9298-4427-8925-fe09294dbd5f,30,99.734691532
2,fbe2ba34-b130-49b7-bd84-3dc6efb63266,79,18.7600680402
3,b63c1b4c-0d48-43ae-9f1d-83b0291462b5,21,34.2058855203

==> simple-example.csv <==
1,eb385c36-9298-4427-8925-fe09294dbd5f,30,99.7346915319786
2,fbe2ba34-b130-49b7-bd84-3dc6efb63266,79,18.7600680401673
3,b63c1b4c-0d48-43ae-9f1d-83b0291462b5,21,34.2058855203307

==> unicode-latin1.csv <==
Australia,Nicole Kidman,Australia,Nicole Kidman
Austria,Johann Strauss,Österreich,Johann Strauß
Belgium (Flemish),Rene Magritte,België,René Magritte

==> unicode-utf8.csv <==
Australia,Nicole Kidman,Australia,Nicole Kidman
Austria,Johann Strauss,Österreich,Johann Strauß
Belgium (Flemish),Rene Magritte,België,René Magritte

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions