I have no problem importing one CSV file into a collection by using the keen-cli command
keen events:add -p xxxxxx -k xxxxxx -w xxxxxx -r xxxxxx --collection xxxxx --file xxxxxx.csv --csv
With -p, -k, -w, -r
being key overrides to avoid installing dotenv
and having to mess with an .env
file.
This import works fine the first time until I try to repeat this with a different file and a different collection. By goal is to be able to compare both collections so I want to keep them in the same project but I always get the following error.
/Library/Ruby/Gems/2.0.0/gems/keen-cli-0.2.3/lib/keen-cli.rb:16:in `deep_merge': undefined method `keys' for "15:53:30":String (NoMethodError)
I know Keen allows for multiple collections in the same project so I'm not 100% sure what's going on here.