Skip to content

Commit 25c0486

Browse files
committed
reformat dataverseno dataset with jq
1 parent a2d9a17 commit 25c0486

1 file changed

Lines changed: 214 additions & 1 deletion

File tree

Lines changed: 214 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,214 @@
1-
{"id":1101620,"identifier":"FK2/0MVCBM","persistentUrl":"https://doi.org/10.70122/FK2/0MVCBM","protocol":"doi","authority":"10.70122","publisher":"Demo Dataverse","publicationDate":"2020-06-08","storageIdentifier":"file://10.70122/FK2/0MVCBM","datasetVersion":{"id":134195,"datasetId":1101620,"datasetPersistentId":"doi:10.70122/FK2/0MVCBM","storageIdentifier":"file://10.70122/FK2/0MVCBM","versionNumber":1,"versionMinorNumber":0,"versionState":"RELEASED","UNF":"UNF:6:eFXLLKw9zMMIcjPRZOLhPg==","lastUpdateTime":"2020-06-08T05:52:18Z","releaseTime":"2020-06-08T05:52:18Z","createTime":"2020-06-04T09:06:36Z","license":"CC0","termsOfUse":"CC0 Waiver","fileAccessRequest":false,"metadataBlocks":{"citation":{"displayName":"Citation Metadata","fields":[{"typeName":"title","multiple":false,"typeClass":"primitive","value":"Testing Tabular File Ingest - Excel and tab-separated .txt"},{"typeName":"author","multiple":true,"typeClass":"compound","value":[{"authorName":{"typeName":"authorName","multiple":false,"typeClass":"primitive","value":"Test User 1, UiT"},"authorAffiliation":{"typeName":"authorAffiliation","multiple":false,"typeClass":"primitive","value":"UiT The Arctic University of Norway"}}]},{"typeName":"datasetContact","multiple":true,"typeClass":"compound","value":[{"datasetContactName":{"typeName":"datasetContactName","multiple":false,"typeClass":"primitive","value":"Test User 1, UiT"},"datasetContactAffiliation":{"typeName":"datasetContactAffiliation","multiple":false,"typeClass":"primitive","value":"UiT The Arctic University of Norway"},"datasetContactEmail":{"typeName":"datasetContactEmail","multiple":false,"typeClass":"primitive","value":"philipp.conzett@uit.no"}}]},{"typeName":"dsDescription","multiple":true,"typeClass":"compound","value":[{"dsDescriptionValue":{"typeName":"dsDescriptionValue","multiple":false,"typeClass":"primitive","value":"Testing ingest of tabular files in Dataverse."},"dsDescriptionDate":{"typeName":"dsDescriptionDate","multiple":false,"typeClass":"primitive","value":"2020-06-04"}}]},{"typeName":"subject","multiple":true,"typeClass":"controlledVocabulary","value":["Social Sciences"]},{"typeName":"keyword","multiple":true,"typeClass":"compound","value":[{"keywordValue":{"typeName":"keywordValue","multiple":false,"typeClass":"primitive","value":"testing"}},{"keywordValue":{"typeName":"keywordValue","multiple":false,"typeClass":"primitive","value":"file ingest"}}]},{"typeName":"depositor","multiple":false,"typeClass":"primitive","value":"Test User 1, UiT"},{"typeName":"dateOfDeposit","multiple":false,"typeClass":"primitive","value":"2020-06-04"}]},"geospatial":{"displayName":"Geospatial Metadata","fields":[]},"journal":{"displayName":"Journal Metadata","fields":[]}},"files":[{"description":"Excel file","label":"Tabular_Sample_Data.tab","restricted":false,"version":3,"datasetVersionId":134195,"dataFile":{"id":1104456,"persistentId":"doi:10.70122/FK2/0MVCBM/LISFFL","pidURL":"https://doi.org/10.70122/FK2/0MVCBM/LISFFL","filename":"Tabular_Sample_Data.tab","contentType":"text/tab-separated-values","filesize":2200,"description":"Excel file","storageIdentifier":"file://17282ef3127-d8ed28281ac7","originalFileFormat":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","originalFormatLabel":"MS Excel Spreadsheet","originalFileSize":12751,"UNF":"UNF:6:eFXLLKw9zMMIcjPRZOLhPg==","rootDataFileId":-1,"md5":"45a5a81537c772485a640a030b12bd33","checksum":{"type":"MD5","value":"45a5a81537c772485a640a030b12bd33"},"creationDate":"2020-06-05"}},{"description":"Tab-separated plain text file","label":"Tabular_Sample_Data.txt","restricted":false,"version":1,"datasetVersionId":134195,"dataFile":{"id":1104457,"persistentId":"doi:10.70122/FK2/0MVCBM/IYDYQR","pidURL":"https://doi.org/10.70122/FK2/0MVCBM/IYDYQR","filename":"Tabular_Sample_Data.txt","contentType":"text/plain","filesize":2060,"description":"Tab-separated plain text file","storageIdentifier":"file://17282ee8e22-382bc0edc2d6","rootDataFileId":-1,"md5":"b2a1624bcf972094c48d639d4aa67c9e","checksum":{"type":"MD5","value":"b2a1624bcf972094c48d639d4aa67c9e"},"creationDate":"2020-06-05"}}],"citation":"Test User 1, UiT, 2020, \"Testing Tabular File Ingest - Excel and tab-separated .txt\", https://doi.org/10.70122/FK2/0MVCBM, Demo Dataverse, V1, UNF:6:eFXLLKw9zMMIcjPRZOLhPg== [fileUNF]"}}
1+
{
2+
"id": 1101620,
3+
"identifier": "FK2/0MVCBM",
4+
"persistentUrl": "https://doi.org/10.70122/FK2/0MVCBM",
5+
"protocol": "doi",
6+
"authority": "10.70122",
7+
"publisher": "Demo Dataverse",
8+
"publicationDate": "2020-06-08",
9+
"storageIdentifier": "file://10.70122/FK2/0MVCBM",
10+
"datasetVersion": {
11+
"id": 134195,
12+
"datasetId": 1101620,
13+
"datasetPersistentId": "doi:10.70122/FK2/0MVCBM",
14+
"storageIdentifier": "file://10.70122/FK2/0MVCBM",
15+
"versionNumber": 1,
16+
"versionMinorNumber": 0,
17+
"versionState": "RELEASED",
18+
"UNF": "UNF:6:eFXLLKw9zMMIcjPRZOLhPg==",
19+
"lastUpdateTime": "2020-06-08T05:52:18Z",
20+
"releaseTime": "2020-06-08T05:52:18Z",
21+
"createTime": "2020-06-04T09:06:36Z",
22+
"license": "CC0",
23+
"termsOfUse": "CC0 Waiver",
24+
"fileAccessRequest": false,
25+
"metadataBlocks": {
26+
"citation": {
27+
"displayName": "Citation Metadata",
28+
"fields": [
29+
{
30+
"typeName": "title",
31+
"multiple": false,
32+
"typeClass": "primitive",
33+
"value": "Testing Tabular File Ingest - Excel and tab-separated .txt"
34+
},
35+
{
36+
"typeName": "author",
37+
"multiple": true,
38+
"typeClass": "compound",
39+
"value": [
40+
{
41+
"authorName": {
42+
"typeName": "authorName",
43+
"multiple": false,
44+
"typeClass": "primitive",
45+
"value": "Test User 1, UiT"
46+
},
47+
"authorAffiliation": {
48+
"typeName": "authorAffiliation",
49+
"multiple": false,
50+
"typeClass": "primitive",
51+
"value": "UiT The Arctic University of Norway"
52+
}
53+
}
54+
]
55+
},
56+
{
57+
"typeName": "datasetContact",
58+
"multiple": true,
59+
"typeClass": "compound",
60+
"value": [
61+
{
62+
"datasetContactName": {
63+
"typeName": "datasetContactName",
64+
"multiple": false,
65+
"typeClass": "primitive",
66+
"value": "Test User 1, UiT"
67+
},
68+
"datasetContactAffiliation": {
69+
"typeName": "datasetContactAffiliation",
70+
"multiple": false,
71+
"typeClass": "primitive",
72+
"value": "UiT The Arctic University of Norway"
73+
},
74+
"datasetContactEmail": {
75+
"typeName": "datasetContactEmail",
76+
"multiple": false,
77+
"typeClass": "primitive",
78+
"value": "philipp.conzett@uit.no"
79+
}
80+
}
81+
]
82+
},
83+
{
84+
"typeName": "dsDescription",
85+
"multiple": true,
86+
"typeClass": "compound",
87+
"value": [
88+
{
89+
"dsDescriptionValue": {
90+
"typeName": "dsDescriptionValue",
91+
"multiple": false,
92+
"typeClass": "primitive",
93+
"value": "Testing ingest of tabular files in Dataverse."
94+
},
95+
"dsDescriptionDate": {
96+
"typeName": "dsDescriptionDate",
97+
"multiple": false,
98+
"typeClass": "primitive",
99+
"value": "2020-06-04"
100+
}
101+
}
102+
]
103+
},
104+
{
105+
"typeName": "subject",
106+
"multiple": true,
107+
"typeClass": "controlledVocabulary",
108+
"value": [
109+
"Social Sciences"
110+
]
111+
},
112+
{
113+
"typeName": "keyword",
114+
"multiple": true,
115+
"typeClass": "compound",
116+
"value": [
117+
{
118+
"keywordValue": {
119+
"typeName": "keywordValue",
120+
"multiple": false,
121+
"typeClass": "primitive",
122+
"value": "testing"
123+
}
124+
},
125+
{
126+
"keywordValue": {
127+
"typeName": "keywordValue",
128+
"multiple": false,
129+
"typeClass": "primitive",
130+
"value": "file ingest"
131+
}
132+
}
133+
]
134+
},
135+
{
136+
"typeName": "depositor",
137+
"multiple": false,
138+
"typeClass": "primitive",
139+
"value": "Test User 1, UiT"
140+
},
141+
{
142+
"typeName": "dateOfDeposit",
143+
"multiple": false,
144+
"typeClass": "primitive",
145+
"value": "2020-06-04"
146+
}
147+
]
148+
},
149+
"geospatial": {
150+
"displayName": "Geospatial Metadata",
151+
"fields": []
152+
},
153+
"journal": {
154+
"displayName": "Journal Metadata",
155+
"fields": []
156+
}
157+
},
158+
"files": [
159+
{
160+
"description": "Excel file",
161+
"label": "Tabular_Sample_Data.tab",
162+
"restricted": false,
163+
"version": 3,
164+
"datasetVersionId": 134195,
165+
"dataFile": {
166+
"id": 1104456,
167+
"persistentId": "doi:10.70122/FK2/0MVCBM/LISFFL",
168+
"pidURL": "https://doi.org/10.70122/FK2/0MVCBM/LISFFL",
169+
"filename": "Tabular_Sample_Data.tab",
170+
"contentType": "text/tab-separated-values",
171+
"filesize": 2200,
172+
"description": "Excel file",
173+
"storageIdentifier": "file://17282ef3127-d8ed28281ac7",
174+
"originalFileFormat": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
175+
"originalFormatLabel": "MS Excel Spreadsheet",
176+
"originalFileSize": 12751,
177+
"UNF": "UNF:6:eFXLLKw9zMMIcjPRZOLhPg==",
178+
"rootDataFileId": -1,
179+
"md5": "45a5a81537c772485a640a030b12bd33",
180+
"checksum": {
181+
"type": "MD5",
182+
"value": "45a5a81537c772485a640a030b12bd33"
183+
},
184+
"creationDate": "2020-06-05"
185+
}
186+
},
187+
{
188+
"description": "Tab-separated plain text file",
189+
"label": "Tabular_Sample_Data.txt",
190+
"restricted": false,
191+
"version": 1,
192+
"datasetVersionId": 134195,
193+
"dataFile": {
194+
"id": 1104457,
195+
"persistentId": "doi:10.70122/FK2/0MVCBM/IYDYQR",
196+
"pidURL": "https://doi.org/10.70122/FK2/0MVCBM/IYDYQR",
197+
"filename": "Tabular_Sample_Data.txt",
198+
"contentType": "text/plain",
199+
"filesize": 2060,
200+
"description": "Tab-separated plain text file",
201+
"storageIdentifier": "file://17282ee8e22-382bc0edc2d6",
202+
"rootDataFileId": -1,
203+
"md5": "b2a1624bcf972094c48d639d4aa67c9e",
204+
"checksum": {
205+
"type": "MD5",
206+
"value": "b2a1624bcf972094c48d639d4aa67c9e"
207+
},
208+
"creationDate": "2020-06-05"
209+
}
210+
}
211+
],
212+
"citation": "Test User 1, UiT, 2020, \"Testing Tabular File Ingest - Excel and tab-separated .txt\", https://doi.org/10.70122/FK2/0MVCBM, Demo Dataverse, V1, UNF:6:eFXLLKw9zMMIcjPRZOLhPg== [fileUNF]"
213+
}
214+
}

0 commit comments

Comments
 (0)