From an influxDB command line you can use:
influx -precision rfc3339 -database ruuvi -host pi93graf
either from the R-Pi4 or any other system where you have influx installed.
sending influx command processor something like:
select (temperature*9/5)+32 from ruuvi_measurements where mac='DC4B596ED18B' limit 3 tz('America/New_York')
Will write something like:
You could then use the sed command to delete the headers and replace spaces with commas.
Would that work for you? Do you need more specific details?