Open vikasrawal opened 4 months ago
bean-query
command and import that csv data as a data frame.beancount
have a command-line program that outputs that metadata in an easy machine-readable format?The beancount query can be modified to read the metadata. For example, the following query, reads "document" metadata. Since each user is expected to have have custom metadata tags, it would be desirable to get the user to specify which metadata tags the user wants to import.
paste("select date, flag as mark, account, payee,", "narration as description,", "number as amount, currency as commodity,", "tags,","id,","any_meta('document')")->query
any_meta("requested_metadata")
functionality was added a while ago but isn't documented in the Beancount Query Language document.any_meta()
is left blank?
Is there support for reading metadata? I can't see the metadata in the beancount file I am reading with ledger. Unless I am missing something.