One way to do this is adding it as metadata. This will allow you to filter and query with it.
On March 1, 2018 8:08:34 PM GMT+01:00, Omar Sandoval <[email protected]> wrote: >Hmm, nevermind. I was going about this incorrectly. Since I already >know >the categories I could just insert this data as a separate posting on >the >transaction, correct? > >On Thursday, March 1, 2018 at 10:37:40 AM UTC-8, Omar Sandoval wrote: >> >> Hi everyone, >> >> My bank provides CSV files with categories. Here's a sample dataset; >> >> Date,Amount,Activity,Raw description,Description,Category >folder,Category >> >> 2/14/2018,-41.16,Signature purchase,MARUFUKU RAMEN,Marufuku >Ramen,Food & >>> Drink,Restaurants >>> 2/12/2018,-41.75,Signature purchase,SQ *PAPITO HAYES,Papito >Hayes,Food & >>> Drink,Restaurants >>> 2/11/2018,-13.8,Signature purchase,SQ *RITUAL COFFEE ROAST,Ritual >Coffee >>> Roast,Food & Drink,Coffee & Tea >>> 2/9/2018,-35.77,Pin >>> purchase,CHEVRON/CSI-302550/1760,Chevron,Transportation,Gas >> >> >> Is there a way to include this data when creating a transaction? I >noticed >> a recent commit >> ><https://bitbucket.org/blais/beancount/pull-requests/24/improve-ingestimporterscsv/diff> >that >> seems to address this but I'm not sure how to get it working. >> >> If I have a list of transactions like so; >> >> >>> 2018-02-09 * "Chevron" "" >>> Assets:US:Simple:Checking -35.77 USD >> >> >>> 2018-02-11 * "Ritual Coffee Roast" "" >> >> Assets:US:Simple:Checking -13.8 USD >>> >> >> >> 2018-02-12 * "Papito Hayes" "" >>> Assets:US:Simple:Checking -41.75 USD >>> >> >> >> 2018-02-14 * "Marufuku Ramen" "" >>> Assets:US:Simple:Checking -41.16 USD >> >> >> Can I iterate through this list with the categorizer callable and >append >> each category? >> -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/AAE9E2F4-E9B3-46FE-A0F0-8C2D64CCA7E5%40ch.tario.org. For more options, visit https://groups.google.com/d/optout.
