Urban-Analytics-Technology-Platform / popgetter-cli

A rust library and CLI for accessing popgetter data
0 stars 0 forks source link

Allow a user to specify a custom output column name for a metric #42

Open stuartlynn opened 3 weeks ago

stuartlynn commented 3 weeks ago

It would be great if a user could specify a custom name for an output metric instead of just getting the one in the parquet file.

They could specify

This could be part of the MetricSpec enum

So in the recipe file format something like

{"MetricId": {"hxl": "...", "rename_to":"outputname"}}

Or something similar. We would need to think about how to handle regex / fuzzy id's in that situation.