Neat idea!

But, as you mentioned, script would have to figure out when I was
driving (own car) and when not.

Best,
Sanel

Martin Blais <[email protected]> writes:

> Idea:
> - Turn on Google Location Services on your phone
> - After a while, download the JSON file for it
> - Write a Python script to extract the already labeled "driving" segments
> - Estimate distance from the start/end coordinates of each these
> - Sum it up.
> Less time, though it would report trips not in your own car.
>
>
>
> On Fri, Oct 27, 2017 at 9:13 AM, Sanel Z. <[email protected]> wrote:
>
>> Hi guys,
>>
>> I'm trying to use ledger for tracking car expenses (maintenance, fuel and
>> etc), but also I'm recording number of kilometers car went. Ledger
>> transaction looks like this, with fictive numbers (L is for liters):
>>
>>   2017/09/09 * Gas station
>>> Expenses:Car:Fuel           35.550 L @ EUR 1.70
>>> Expenses:Car:Fuel:Tax       35.550 L @ EUR 0.01
>>> Expenses:Car:Mileage        109554 km
>>> Expenses:Car:Washing        $ 6
>>> Assets:Wallet
>>
>>
>> I'm recording mileage as currently visible on dashboard, without manual
>> subtraction and ledger will happily add this number to the previous mileage
>> recording, which isn't what I want.
>>
>> Is there any way to instruct ledger to subtract these values ouf of the
>> box, and show only difference for transaction or given period?
>>
>> Thanks.
>>
>> Best,
>> Sanel
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Ledger" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> -- 
>
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Ledger" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/ledger-cli/Ojl0Rk96zqg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to