hledger/examples
2024-10-11 14:56:03 -10:00
..
budgeting ;examples: update some budget examples 2020-11-20 16:53:08 -08:00
costs ;examples: the hledger manual > Cost reporting examples, and shelltests 2023-06-28 16:20:19 -10:00
csv ;examples: csv: add an example python converter script 2024-10-10 09:54:01 -10:00
dungeons-and-dragons ;examples: dungeons and dragons ledger from glguy 2023-06-08 15:00:27 -10:00
i18n ;doc: i18n: improve display order 2023-03-31 14:04:32 -10:00
investing ;doc: Update pathspec for running roi-unrealised.ledger and generated output. 2023-12-01 17:21:33 -10:00
invoicing ;examples:invoicing: cleanups 2024-01-05 09:18:32 -10:00
multi-year ;examples:multi-year:readme: clarify/warn about print --equity losing directives 2024-01-23 23:52:52 -10:00
reports examples: makefile generating multi-format year-end reports 2018-01-29 14:53:23 -08:00
self-tracking ;examples:self-tracking: add missing files 2023-06-27 18:55:08 -10:00
shared-finances ;examples: shared finances 2024-04-18 13:19:51 -10:00
systemd ;imp: added systemd and nginx files to examples dir 2021-07-05 05:24:21 -10:00
templates ;doc: templates: basic: inline docs, improvements 2021-11-25 11:58:41 -10:00
.gitignore rename data/ to examples/ 2017-01-08 07:26:13 -08:00
1468.j ;tests: ui: add missing test file 2021-09-20 16:53:55 -10:00
alias.journal rename data/ to examples/ 2017-01-08 07:26:13 -08:00
all.journal cln: Replace all uses of deprecated !include with include. 2021-09-27 15:04:35 -10:00
ascii.journal ;examples: update some example journals 2023-12-15 19:35:18 -10:00
balance-multicol.journal cli, lib: move functional tests into hledger/test/ 2020-11-16 08:47:41 -08:00
bcexample.hledger examples: bcexample: drop beancountish double quotes 2022-07-23 02:35:17 +01:00
bitcoin-split-coinbase.journal examples: bitcoin split example entry 2017-08-11 12:01:10 -07:00
borrowing.journal examples: borrowing 2017-07-27 12:56:35 -07:00
business.journal rename data/ to examples/ 2017-01-08 07:26:13 -08:00
chinese.journal ;dev: revert chinese.journal, fix func tests 2023-12-16 11:12:35 -10:00
Cody.journal ;examples: Cody: hledger compatibility and a txn tweak 2019-08-23 08:05:44 -07:00
current.journal cln: Replace all uses of deprecated !include with include. 2021-09-27 15:04:35 -10:00
forecast.journal ;fix: ui: test wording 2021-09-19 06:34:17 -10:00
hledger2beancount.conf ;examples: hledger2beancount.conf: fix unsupported quoting, add stuff 2024-10-11 14:56:03 -10:00
multicurrency.journal ;examples: multicurrency.journal 2021-12-22 15:38:48 -10:00
onelinecsv.hs examples: onelinecsv 2017-07-01 17:29:09 +01:00
personal.journal rename data/ to examples/ 2017-01-08 07:26:13 -08:00
README.md ;examples:README: update 2024-01-20 15:42:38 -10:00
sample.csv ;examples: revert sample.csv, move sample.journal csv output elsewhere 2023-01-11 21:59:10 -10:00
sample.csv.rules ;examples: sample.csv tweaks, matching new doc 2020-08-11 09:55:51 -07:00
sample.journal ;examples: sample: save directives for testing 2020-12-31 08:29:51 -08:00
sample.journal.csv ;examples: revert sample.csv, move sample.journal csv output elsewhere 2023-01-11 21:59:10 -10:00
sample.timeclock ;doc: fix sample.timeclock, account names may contain semicolon 2023-05-03 19:18:35 -10:00
sample.timedot imp: timedot: make one multi-posting transaction per date line (#1754) 2023-05-03 19:18:35 -10:00
status.journal fix some 2017-isms in func. tests 2018-01-01 15:47:31 -08:00
templates.journal move extra/ data files to examples 2017-01-08 07:26:14 -08:00
TXF-spec-v042.org examples: TXF tax exchange file spec, as org outline 2017-04-11 10:21:13 -07:00
unicode.journal rename data/ to examples/ 2017-01-08 07:26:13 -08:00

Here in examples/ you'll find a mixed bag of sample journals, time logs, CSV rules, scripts, etc. Like the Cookbook docs, these vary in age and quality; "examples" here does not mean "exemplary". Some may be ready to use; some are to be studied and adapted; some are just for interest; some are outdated and best ignored.

The content here is not necessarily stable but here are some subcategories as of 2024-01:

  • budgeting - some budgeting-related journals
  • costs - some examples of cost notation
  • csv - a growing collection of rules and maybe helper scripts you can use and adapt for reading real world CSV/TSV/SSV files
  • dungeons-and-dragons - a nifty example of dungeon master accounting
  • i18n - examples of non-ascii data and account declarations in different languages
  • investing - a place to collect investing-related journal entries
  • invoicing - scripts and templates for generating invoices
  • multi-year - examples of working with multiple year files
  • reports - miscellaneous reporting scripts
  • self-tracking - a mini-tutorial on working with Marek Gibney's "Syntax for Self-Tracking" logging format
  • systemd - an example of systemd service configuration for hledger-web
  • templates - a start at gathering "clean starter file sets for various needs" (2021)