{"id":22799074,"url":"https://github.com/thomd/visidata-plugins","last_synced_at":"2026-07-17T23:37:03.877Z","repository":{"id":66830125,"uuid":"566021185","full_name":"thomd/visidata-plugins","owner":"thomd","description":"VisiData plugins","archived":false,"fork":false,"pushed_at":"2022-11-22T21:25:38.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T19:14:45.699Z","etag":null,"topics":["cli","visidata"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-14T20:08:24.000Z","updated_at":"2023-10-22T17:46:08.000Z","dependencies_parsed_at":"2023-04-13T03:24:18.857Z","dependency_job_id":null,"html_url":"https://github.com/thomd/visidata-plugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thomd/visidata-plugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomd%2Fvisidata-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomd%2Fvisidata-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomd%2Fvisidata-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomd%2Fvisidata-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomd","download_url":"https://codeload.github.com/thomd/visidata-plugins/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomd%2Fvisidata-plugins/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502167,"owners_count":23618557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","visidata"],"created_at":"2024-12-12T07:07:50.057Z","updated_at":"2025-10-13T02:24:57.502Z","avatar_url":"https://github.com/thomd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VisiData Plugins\n\nSome plugins for my daily work with [VisiData](https://www.visidata.org/):\n\n- [hide-empty-cols](#hide-empty-cols)\n- [one-hot-encode](#one-hot-encode)\n- [retrieve-salesforce-record](#retrieve-salesforce-record)\n\n## Install\n\n    git clone https://github.com/thomd/visidata-plugins.git\n    cd visidata-plugins\n    make install\n\nUninstall with\n\n    make uninstall\n\n\u003e [!NOTE]\n\u003e The plugins are only tested on macOS.\n\n## `hide-empty-cols`\n\nHide all columns which contain no data.\n\n### Usage\n\nUse command `hide-empty-cols`.\n\n### Example\n\n    echo -e \"col1,col2,col2,col4\\n1,,,\\n5,,7,\" | vd\n\nBefore:\n\n| col1 | col2 | col3 | col4 |\n| ---- | ---- | ---- | ---- |\n| 1    |      |      |      |\n| 5    |      | 7    |      |\n\nAfter:\n\n| col1 | col3 |\n| ---- | ---- |\n| 1    |      |\n| 5    | 7    |\n\n## `one-hot-encode`\n\nOne-hot encode the currently selected column.\n\nThis function creates a new binary column for each unique value in the selected column, indicating the presence (1) or absence (0) of that value in each row. The new columns are inserted immediately after the original column.\n\nThis prevents assuming an ordinal relationship between categories (e.g., \"red\" \u003e \"green\") when using categorical data in linear regression, logistic regression and neural networks.\n\n### Usage\n\nUse command `one-hot-encode`.\n\n### Example\n\n    echo -e \"color\\nred\\ngreen\\nred\\nblue\\ngreen\" | vd\n\nBefore:\n\n| color |\n| ----- |\n| red   |\n| green |\n| red   |\n| blue  |\n\nAfter:\n\n| color | color_blue | color_green | color_red |\n| ----- | ---------- | ----------- | --------- |\n| red   | 0          | 0           | 1         |\n| green | 0          | 1           | 0         |\n| red   | 0          | 0           | 1         |\n| blue  | 1          | 0           | 0         |\n\n## `retrieve-salesforce-record`\n\nRetrieve a Salesforce record of the selected Salesforce ID in a new sheet.\n\nRequires to have the `sf` [Salesforce CLI](https://developer.salesforce.com/tools/salesforcecli) installed and having set a default authenticated org.\n\n### Usage\n\nUse command `retrieve-salesforce-record` or the key `0`.\n\n### Example\n\n```\necho -e \"Account ID\\n0019V0000138V4QQAU\" | vd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomd%2Fvisidata-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomd%2Fvisidata-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomd%2Fvisidata-plugins/lists"}