issue_comments: 778811746

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app 778811746 MDEyOklzc3VlQ29tbWVudDc3ODgxMTc0Ng== 9599 2021-02-14T17:39:30Z 2021-02-14T21:16:54Z OWNER

I'm going to detach this from the #131 column types idea.

The three things I need to handle here are:

  • The CSV file doesn't have a header row at all, so I need to specify what the column names should be
  • The CSV file DOES have a header row but I want to ignore it and use alternative column names
  • The CSV doesn't have a header row at all and I want to automatically use unknown1,unknown2... so I can start exploring it as quickly as possible.

Here's a potential design that covers the first two:

--replace-header="foo,bar,baz" - ignore whatever is in the first row and pretend it was this instead
--add-header="foo,bar,baz" - add a first row with these details, to use as the header

It doesn't cover the "give me unknown column names" case though.

    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0