forked from agordon/datamash
-
Notifications
You must be signed in to change notification settings - Fork 0
mirror of GNU Datamash
License
yfu/datamash
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GNU Datamash ============ GNU Datamash is a command-line program which performs basic numeric,textual and statistical operations on input textual data files. it is designed to be portable and reliable, and aid researchers to easily automate analysis pipelines, without writing code or even short scripts. Home page: http://www.gnu.org/software/datamash License: GPL Version 3 (or later). Usage ===== See `datamash --help` for basic usage information. See `man datamash` for examples and operation details. For the instrucions manual, see `info datamash` or visit http://www.gnu.org/software/datamash/manual/ Examples ======== What's the sum and mean of the values in field 1 ? $ seq 10 | datamash sum 1 mean 1 55 5.5 Given a file with three columns (Name, College Major, Score), what is the average, grouped by college major? $ cat scores.txt John Life-Sciences 91 Dilan Health-Medicine 84 Nathaniel Arts 88 Antonio Engineering 56 Kerris Business 82 ... # Sort input and group by column 2, calculate average on column 3: $ datamash --sort --group 2 mean 3 < scores.txt Arts 68.9474 Business 87.3636 Health-Medicine 90.6154 Social-Sciences 60.2667 Life-Sciences 55.3333 Engineering 66.5385 See more examples at http://www.gnu.org/software/datamash/examples/ Download and Installation ========================= Download the latest source code at http://www.gnu.org/software/datamash . General installation commands: $ tar -xzf datamash-[VERSION].tar.gz $ cd datamash-[VERSION] $ ./configure $ make $ make check $ sudo make install See Platform/OS-specific download instructions at http://www.gnu.org/software/datamash/download/ Questions and Bug Reports ========================= - Please send questions and bug reports to bug-datamash@gnu.org . - Searchable archive at http://lists.gnu.org/archive/html/bug-datamash . - Subscribe at https://lists.gnu.org/mailman/listinfo/bug-datamash .
About
mirror of GNU Datamash
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Shell 33.9%
- Perl 32.9%
- C 32.0%
- Other 1.2%