Skip to content

Instantly share code, notes, and snippets.

@willettk
Last active December 30, 2015 16:53
Show Gist options
  • Select an option

  • Save willettk/c7c42dd748a3590faafd to your computer and use it in GitHub Desktop.

Select an option

Save willettk/c7c42dd748a3590faafd to your computer and use it in GitHub Desktop.
mongoexport command for GZ: CANDELS users. Pay attention to the single vs. double quote order.
mongoexport -d galaxy_zoo -c galaxy_zoo_users -f "name" -q '{"projects.502a90cd516bcb060c000001.groups.50251c3b516bcb6ecb000001.classification_count":{$gte:0}}' --type=csv -o gz4.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment