trxn8r / trxn8r

Transactionator - The Trippy T-Rex Bulk CSV Importer/Transformer/Deduplicator; for the TillerHQ.com 2022 MS Excel Challenge; Better than my resume for Tiller Sr. Engineering Job 😱
https://career.stevens.pro/tiller
MIT License
3 stars 1 forks source link
csv csv-import excel finance personal-finance powerquerym tillerhq

README - Transactionator (TRXN8R)

Tiller's 2022 Microsoft Excel Builders Challenge Entry

by Greg Stevens a.k.a. @GregSweats


SpreadsheetNerdsUnite

Announcing Tiller’s 2022 Microsoft Excel Builders Challenge


πŸ”— Download Latest TRXN8R Excel from Releases

DOWNLOAD TRXN8R.SOME_VERSION.xlsx from Releases

Look under the expandable Assets section.

 

⚠ Two warnings may popup

  1. Enable Editing
    1. This is because the file was downloaded.
  2. Enable Content
    1. This is to allow access to External Content, the Transactions Workbook you will configure.

Screenshot

TRX8NR Screenshot #1

🀯 Yesssss, this is Microsoft Excel.

Ever seen a spreadsheet with a SEIZURE WARNING? That one Dino GIF is a lot to take in.


Table of Contents


Why?

Best to see https://career.stevens.pro/tiller

Diagram PQ Model Overview




1️⃣ Getting Started as a User

⚠ The first hit is always free.

1.1. Download the Excel Workbook

⭐ Download TRXN8R.xlsx

1.2. Configure TRX8NR πŸ±β€πŸ‰ to Extract, Transform, and Load (ETL) the Results of Your Transactions (Trxns)

From the main screen, the workbook in the screenshot, TRX8NR Home

  1. Foundation/Transactions Workbook File Path

    1. The location of your Tiller Foundation Template with a Transactions Worksheet.

    2. The Transactions from this worksheet will be used to determine:

      1. Column Headers for mapping the CSV Files to.
      2. Transaction History to avoid importing duplicate Transactions.
      3. After the import, TRXN8R loads the t8r_TrxnsFromImport Worksheet with new, de-duplicated Transactions, in the same column format for easy copy/paste back into your actual Transactions Worksheet data.
      4. Review the Imported Transactions, add them back to your Foundation/Transactions Workbook, and voile, we should succeed! πŸ†
    3. ⚠ TRX8NR SHOULD NOT MODIFY/OVERWRITE/DESTROY YOUR DATA!

      1. Still in beta as of 2022-06-01 so mistakes may happen.
      2. TRXN8R is designed to Load the Transactions from your Workbook only.
      3. todo Is there a way to open the source Workbook read only?

        1. Might already be.
        2. Look in Power Query at t8r_GetWorksheetFromTrxnsWorkbook. We get the File.Contents and load Workbook from that...how could it write it back?!
        worksheet = Excel.Workbook(
          // https://docs.microsoft.com/en-us/powerquery-m/file-contents
          // File.Contents(path as text, optional options as nullable record) as binary
          File.Contents(
              T8R_TRXNS_WORKBOOK_PATH
          ),
          true,
          true
        ){[Name=worksheetName]},

        1.

    4. consumed from data/to-import/ will be compared to the Transactions Worksheet in this Foundation Template.

  2. Pick Transactions Worksheet

    1. βœ… Any Custom Headers/Ordering Works

      1. 🀯 TRX8NR loads the headers from the Transactions Worksheet into the next step, the TRX8NR ImportConfigs Worksheet, where you can set what CSV Header to use for this Transactions Header .
      2. #beta may be buggy πŸ›
    2. Pick the Worksheet to use from the Foundation Template.

      1. This should be a drop-down list but it may be buggy πŸ›
  3. Folder Path to Import From

    1. πŸ”§ The Windows Directory where your CSV Files are located.
    2. πŸ±β€πŸ‰ TRXN8R will scan all sub-directories too. #feature
  4. Config to Use

    1. 🚧 #WorkInProgress
    2. Goal is to have T8R let you map different configs to different files, based on patterns, paths, and a final manual YES/NO confirmation somehow #maybe.
  5. Refresh Data

  6. Review Results




2️⃣ Issues, Help, Discussions, etc.

3️⃣ Obsidian Vault

./docs/

Example 2022-06-01 - Open Folder as Vault, Freshly Cloned Repo

Getting Started with Obsidian


Nicer keeping all documentation within wonderful Obsidian πŸ‘©β€πŸ­.

Sincerely,

Greg Stevens
@gsteve3
2022-05-22 at 01:08:07 AM MDT
https://career.stevens.pro/


Contributing

πŸ”— See CONTRIBUTING.md

Getting Started as a Developer

Download ZIP, Excel, or Git Clone the Repo

Git Clone the Repo

Below uses one of my fav tools [gh - GitHub CLI], you can git clone... as usual if you prefer. ✌

gh repo clone trxn8r/trxn8r
code trxn8r
Example
PS C:\Users\GregStevens\OneDrive - Dalyle\projects>
gh repo clone trxn8r/trxn8r
Cloning into 'trxn8r'...
remote: Enumerating objects: 506, done.
remote: Counting objects: 100% (4/4), done.
remote: Total 506 (delta 3), reused 3 (delta 3), pack-reused 502
Receiving objects: 100% (506/506), 41.58 MiB | 11.04 MiB/s, done.
Resolving deltas: 100% (105/105), done.

PS C:\Users\GregStevens\OneDrive - Dalyle\projects>

PS C:\Users\GregStevens\OneDrive - Dalyle\projects> code .\trxn8r\

// The dot and backslahses around trxn8r are not required.
// They showed up when I pressed <kbd>TAB</kbd> to auto-complete the name.

Powershell example, rather than the usual shell Markdown language, just to be unique, hehe, get it?! ...data [base|model|science] words! 🀣

Caveats

Caveat: a warning or caution; admonition. Law. a legal notice to a court or public officer to suspend a certain proceeding until the notifier ...

-- Oxford Learner's Dictionaries, 2022-06-01

Usually Avoid Cloning into a OneDrive Folder

Goals / Thoughts


Diagram Samples (/diagrams/)

docs/2022-05-24 Importer Workflow Diagram.png

docs/2022-05-24 Diagram of What Importer Should Do