Skip to content

Commit

Permalink
fix: Flatten twitter data
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Sep 4, 2024
1 parent 37a59bd commit b5ae46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats/steampipe/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "0.1.0"

[tasks]
plugins = "steampipe plugin install github twitter --progress=false"
twitter = "steampipe query twitter_users.sql --output json | jq '.rows[0] + {timestamp: now|tostring}' >> hf_stats/steampipe/twitter_users.json"
twitter = "steampipe query twitter_users.sql --output json | jq '.rows[0].public_metrics + {timestamp: now|tostring}' >> twitter_users.json"
github = "steampipe query github.sql --output json | jq '.rows[0] + {timestamp: now|tostring}' >> hf_stats/steampipe/github.json"
download_hf = "huggingface-cli download nf-core/stats --local-dir hf_stats --repo-type dataset --quiet"
upload_hf = "huggingface-cli upload nf-core/stats hf_stats --repo-type dataset --quiet"
Expand Down

0 comments on commit b5ae46c

Please sign in to comment.