Skip to content

Instantly share code, notes, and snippets.

View rushirajnenuji's full-sized avatar

Rushiraj Nenuji rushirajnenuji

  • University of California Santa Barbara
  • Santa Barbara, California
  • 12:54 (UTC -07:00)
View GitHub Profile
@rushirajnenuji
rushirajnenuji / ES_Quereies_nov_2021.json
Last active November 16, 2021 22:13
Metrics Service faceted queries
# get event based on Entry ID
GET /eventlog-*/_search
{
"query": {
"bool": {
"must": [
{
"term": {"entryId": "669246"}
},
{
@csjx
csjx / File 1: dataone-package-upload-example.rst
Last active March 27, 2024 17:32
Using the DataONE API on the command line

DataONE Data Package Upload Example

Table of Contents

This is an example of how to upload content into a repository that implements the DataONE Tier 3 MNStorage API. We focus on a simple yet complete data package example that involves two CSV data files, one EML metadata file, and one OAI-ORE resource map file. This example is based on content in the following published dataset, but has some changes to simplify the example: