{"id":15494994,"url":"https://github.com/fracpete/common-csv-weka-package","last_synced_at":"2026-02-06T22:01:54.089Z","repository":{"id":144520032,"uuid":"167075834","full_name":"fracpete/common-csv-weka-package","owner":"fracpete","description":"CSV loader/saver for Weka that handles common formats (requires Weka 3.9.5+).","archived":false,"fork":false,"pushed_at":"2024-07-04T22:11:58.000Z","size":17473,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T12:16:06.621Z","etag":null,"topics":["converter","csv","java","weka"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fracpete.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":"2019-01-22T22:16:09.000Z","updated_at":"2024-07-04T22:12:01.000Z","dependencies_parsed_at":"2024-12-08T06:41:49.155Z","dependency_job_id":null,"html_url":"https://github.com/fracpete/common-csv-weka-package","commit_stats":{"total_commits":44,"total_committers":3,"mean_commits":"14.666666666666666","dds":"0.045454545454545414","last_synced_commit":"e080750b9b507b87f810dab508b63d3610c9fdea"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/fracpete/common-csv-weka-package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fcommon-csv-weka-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fcommon-csv-weka-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fcommon-csv-weka-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fcommon-csv-weka-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fracpete","download_url":"https://codeload.github.com/fracpete/common-csv-weka-package/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fcommon-csv-weka-package/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266738346,"owners_count":23976417,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["converter","csv","java","weka"],"created_at":"2024-10-02T08:15:44.642Z","updated_at":"2026-02-06T22:01:54.075Z","avatar_url":"https://github.com/fracpete.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# common-csv-weka-package\n\nWeka package for loader and saver for common CSV formats, using the \n[Apache Commons CSV](https://commons.apache.org/proper/commons-csv/) library.\n\nRequires Weka 3.9.5+.\n\nSupported formats:\n\n* **DEFAULT** - Standard Comma Separated Value format, as for RFC4180 but allowing empty lines.\n* **EXCEL** - The Microsoft Excel CSV format.\n* **INFORMIX_UNLOAD** - Informix UNLOAD format used by the UNLOAD TO file_name operation.\n* **INFORMIX_UNLOAD_CSV** - Informix CSV UNLOAD format used by the UNLOAD TO file_name operation (escaping is disabled.)\n* **MYSQL** - The MySQL CSV format.\n* **ORACLE** - Default Oracle format used by the SQL*Loader utility.\n* **POSTGRESSQL_CSV** - Default PostgreSQL CSV format used by the COPY operation.\n* **POSTGRESSQL_TEXT** - Default PostgreSQL text format used by the COPY operation.\n* **RFC-4180** - The RFC-4180 format defined by RFC-4180.\n* **TDF** - A tab delimited format.\n\n## Options\n\nThe loader:\n\n```\nUsage:\n\tCommonCSVLoader \u003cfile.csv | file.tsv | file.txt\u003e [options]\n\nOptions:\n\n-decimal \u003cnum\u003e\n\tThe maximum number of digits to print after the decimal\n\tplace for numeric values (default: 6)\n-F \u003cDEFAULT|EXCEL|INFORMIX|INFORMIXCSV|MYSQL|ORACLE|POSTGRESQLCSV|POSTGRESQLTXT|RFC4180|TDF\u003e\n\tThe CSV format to use\n\t(default: DEFAULT)\n-use-custom-field-separator\n\tWhether to use custom field separator\n\t(default: no)\n-custom-field-separator \u003cseparator-char\u003e\n\tThe custom field separator\n\t(default: ,)\n-use-custom-quote-character\n\tWhether to use custom quote character\n\t(default: no)\n-custom-quote-character \u003cquote-char\u003e\n\tThe custom quote character\n\t(default: \")\n-use-custom-quote-mode\n\tWhether to use custom quote mode\n\t(default: no)\n-custom-quote-mode \u003cALL|ALL_NON_NULL|MINIMAL|NON_NUMERIC|NONE\u003e\n\tThe custom quote mode\n\t(default: MINIMAL)\n-use-custom-escape-character\n\tWhether to use custom escape character\n\t(default: no)\n-custom-escape-character \u003cescape-char\u003e\n\tThe custom escape character\n\t(default: )\n-no-header\n\tWhether there is no header row in the spreadsheet\n\t(default: assumes header row present)\n-nominal \u003crange\u003e\n\tThe attribute range to treat as nominal\n\t(default: none)\n-nominal-label-spec \u003cnominal label spec\u003e\n\tOptional specification of legal labels for nominal\n\tattributes. May be specified multiple times.\n\tThe spec contains two parts separated by a \":\".\n\tThe first part can be a range of attribute indexes or\n\ta comma-separated list off attruibute names;\n\tthe second part is a comma-separated list of labels. E.g.:\n\t\"1,2,4-6:red,green,blue\" or \"att1,att2:red,green,blue\"\n-string \u003crange\u003e\n\tThe attribute range to treat as string\n\t(default: none)\n-date \u003crange\u003e\n\tThe attribute range to treat as date\n\t(default: none)\n-date-format \u003cformat\u003e\n\tThe format to use for parsing the date attribute(s)\n\tsee: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/format/DateTimeFormatter.html\n\t(default: yyyy-MM-dd'T'HH:mm:ss)\n-missing-value \u003cstring\u003e\n\tThe string to interpret as missing value\n\t(default: '')\n-num-rows-type-detection \u003cint\u003e\n\tThe number of rows to use for detecting numeric rows\n\t(default: '100')\n```\n\nThe saver:\n\n```\nCommonCSVSaver options:\n\n-i \u003cthe input file\u003e\n\tThe input file\n-o \u003cthe output file\u003e\n\tThe output file\n-F \u003cDEFAULT|EXCEL|INFORMIX|INFORMIXCSV|MYSQL|ORACLE|POSTGRESQLCSV|POSTGRESQLTXT|RFC4180|TDF\u003e\n\tThe CSV format to use\n\t(default: DEFAULT)\n-use-custom-field-separator\n\tWhether to use custom field separator\n\t(default: no)\n-custom-field-separator \u003cseparator-char\u003e\n\tThe custom field separator\n\t(default: ,)\n-use-custom-quote-character\n\tWhether to use custom quote character\n\t(default: no)\n-custom-quote-character \u003cquote-char\u003e\n\tThe custom quote character\n\t(default: \")\n-use-custom-quote-mode\n\tWhether to use custom quote mode\n\t(default: no)\n-custom-quote-mode \u003cALL|ALL_NON_NULL|MINIMAL|NON_NUMERIC|NONE\u003e\n\tThe custom quote mode\n\t(default: MINIMAL)\n-use-custom-escape-character\n\tWhether to use custom escape character\n\t(default: no)\n-custom-escape-character \u003cescape-char\u003e\n\tThe custom escape character\n\t(default: )\n-no-header\n\tWhether to suppress output of header row\n\t(default: outputs header)\n```\n\n\n## Releases\n\n* [2024.7.5](https://github.com/fracpete/common-csv-weka-package/releases/download/v2024.7.5/common-csv-2024.7.5.zip)\n* [2021.1.3](https://github.com/fracpete/common-csv-weka-package/releases/download/v2021.1.3/common-csv-2021.1.3.zip)\n* [2020.12.30](https://github.com/fracpete/common-csv-weka-package/releases/download/v2020.12.30/common-csv-2020.12.30.zip)\n* [2020.12.29](https://github.com/fracpete/common-csv-weka-package/releases/download/v2020.12.29/common-csv-2020.12.29.zip)\n* [2020.11.29](https://github.com/fracpete/common-csv-weka-package/releases/download/v2020.11.29/common-csv-2020.11.29.zip)\n\n\n## Maven\n\nUse the following dependency in your `pom.xml`:\n\n```xml\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.github.fracpete\u003c/groupId\u003e\n      \u003cartifactId\u003ecommon-csv-weka-package\u003c/artifactId\u003e\n      \u003cversion\u003e2024.7.5\u003c/version\u003e\n      \u003ctype\u003ejar\u003c/type\u003e\n      \u003cexclusions\u003e\n        \u003cexclusion\u003e\n          \u003cgroupId\u003enz.ac.waikato.cms.weka\u003c/groupId\u003e\n          \u003cartifactId\u003eweka-dev\u003c/artifactId\u003e\n        \u003c/exclusion\u003e\n      \u003c/exclusions\u003e\n    \u003c/dependency\u003e\n```\n\n\n## How to use packages\n\nFor more information on how to install the package, see:\n\nhttps://waikato.github.io/weka-wiki/packages/manager/\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffracpete%2Fcommon-csv-weka-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffracpete%2Fcommon-csv-weka-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffracpete%2Fcommon-csv-weka-package/lists"}