Skip to content

Instantly share code, notes, and snippets.

View kathrin77's full-sized avatar
🏠
Working from home

Kathrin Heim kathrin77

🏠
Working from home
  • ZHB Luzern
View GitHub Profile
@slint
slint / zenodo-community-stats.sh
Last active December 27, 2023 13:29
Fetch Zenodo stats for communities and queries
#!/bin/bash
# To use this script you need to have "curl" and "jq" installed.
COMMUNITY_ID="community_id"
OUTPUT_CSV="${COMMUNITY_ID}_community_stats.csv"
# Create CSV file header
echo "URL,DOI,Title,PublicationDate,Views,Downloads" > "${OUTPUT_CSV}"