bolognese 0.7.2 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -1
  3. data/README.md +25 -16
  4. data/bolognese.gemspec +2 -1
  5. data/codemeta.json +39 -0
  6. data/lib/bolognese.rb +4 -0
  7. data/lib/bolognese/array.rb +11 -0
  8. data/lib/bolognese/author_utils.rb +35 -21
  9. data/lib/bolognese/bibtex.rb +4 -4
  10. data/lib/bolognese/codemeta.rb +8 -13
  11. data/lib/bolognese/crossref.rb +22 -20
  12. data/lib/bolognese/datacite.rb +61 -61
  13. data/lib/bolognese/datacite_json.rb +208 -0
  14. data/lib/bolognese/datacite_utils.rb +17 -48
  15. data/lib/bolognese/metadata.rb +83 -22
  16. data/lib/bolognese/schema_org.rb +42 -16
  17. data/lib/bolognese/utils.rb +79 -13
  18. data/lib/bolognese/version.rb +1 -1
  19. data/lib/bolognese/whitelist_scrubber.rb +45 -0
  20. data/spec/array_spec.rb +20 -0
  21. data/spec/author_utils_spec.rb +93 -9
  22. data/spec/bibtex_spec.rb +4 -4
  23. data/spec/cli_spec.rb +5 -0
  24. data/spec/codemeta_spec.rb +41 -31
  25. data/spec/crossref_spec.rb +47 -72
  26. data/spec/datacite_json_spec.rb +65 -0
  27. data/spec/datacite_spec.rb +67 -83
  28. data/spec/datacite_utils_spec.rb +9 -14
  29. data/spec/fixtures/datacite.json +49 -0
  30. data/spec/fixtures/datacite_software.json +18 -0
  31. data/spec/fixtures/vcr_cassettes/Bolognese_CLI/convert_from_id/datacite/to_datacite_json.yml +214 -0
  32. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/author_from_schema_org/with_id.yml +930 -0
  33. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/author_to_schema_org/with_id.yml +930 -0
  34. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/author.yml +137 -860
  35. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/no_author.yml +137 -860
  36. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/single_author.yml +137 -860
  37. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/authors_as_string/with_organization.yml +137 -860
  38. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/from_schema_org/with_id.yml +930 -0
  39. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_ORCID.yml +155 -0
  40. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_name_identifier/has_no_ORCID.yml +134 -0
  41. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_familyName.yml +155 -0
  42. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order.yml +186 -0
  43. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_display-order_with_ORCID.yml +177 -0
  44. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/has_name_in_sort-order.yml +173 -0
  45. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_one_author/is_organization.yml +207 -0
  46. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_comma.yml +207 -0
  47. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_family_name.yml +207 -0
  48. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_id.yml +207 -0
  49. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_no_info.yml +207 -0
  50. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_organization.yml +207 -0
  51. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/is_personal_name_/has_type_person.yml +207 -0
  52. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/sanitize/should_only_keep_specific_tags.yml +930 -0
  53. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/sanitize/should_remove_a_tags.yml +930 -0
  54. data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/to_schema_org/with_id.yml +930 -0
  55. data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/related_identifier.yml +173 -0
  56. data/spec/fixtures/vcr_cassettes/Bolognese_DataciteJson/get_metadata_as_bibtex/BlogPosting.yml +155 -0
  57. data/spec/schema_org_spec.rb +17 -14
  58. data/spec/utils_spec.rb +32 -2
  59. metadata +54 -4
@@ -0,0 +1,155 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://doi.org/10.5438/4k3m-nyvg
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Maremma - https://github.com/datacite/maremma
12
+ Accept:
13
+ - application/vnd.datacite.datacite+xml
14
+ response:
15
+ status:
16
+ code: 303
17
+ message: ''
18
+ headers:
19
+ Server:
20
+ - Apache-Coyote/1.1
21
+ Vary:
22
+ - Accept
23
+ Location:
24
+ - http://data.datacite.org/10.5438%2F4k3m-nyvg
25
+ Expires:
26
+ - Tue, 28 Feb 2017 08:33:29 GMT
27
+ Content-Type:
28
+ - text/html;charset=utf-8
29
+ Content-Length:
30
+ - '173'
31
+ Date:
32
+ - Tue, 28 Feb 2017 07:49:56 GMT
33
+ body:
34
+ encoding: UTF-8
35
+ string: |-
36
+ <html><head><title>Handle Redirect</title></head>
37
+ <body><a href="http://data.datacite.org/10.5438%2F4k3m-nyvg">http://data.datacite.org/10.5438%2F4k3m-nyvg</a></body></html>
38
+ http_version:
39
+ recorded_at: Tue, 28 Feb 2017 07:49:56 GMT
40
+ - request:
41
+ method: get
42
+ uri: http://data.datacite.org/10.5438%2F4k3m-nyvg
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ''
46
+ headers:
47
+ User-Agent:
48
+ - Maremma - https://github.com/datacite/maremma
49
+ Accept:
50
+ - application/vnd.datacite.datacite+xml
51
+ response:
52
+ status:
53
+ code: 301
54
+ message: ''
55
+ headers:
56
+ Server:
57
+ - openresty/1.11.2.2
58
+ Date:
59
+ - Tue, 28 Feb 2017 07:49:56 GMT
60
+ Content-Type:
61
+ - text/html
62
+ Content-Length:
63
+ - '191'
64
+ Connection:
65
+ - keep-alive
66
+ Location:
67
+ - https://data.datacite.org/10.5438%2F4k3m-nyvg
68
+ body:
69
+ encoding: UTF-8
70
+ string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
71
+ bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
72
+ http_version:
73
+ recorded_at: Tue, 28 Feb 2017 07:49:56 GMT
74
+ - request:
75
+ method: get
76
+ uri: https://data.datacite.org/10.5438%2F4k3m-nyvg
77
+ body:
78
+ encoding: US-ASCII
79
+ string: ''
80
+ headers:
81
+ User-Agent:
82
+ - Maremma - https://github.com/datacite/maremma
83
+ Accept:
84
+ - application/vnd.datacite.datacite+xml
85
+ response:
86
+ status:
87
+ code: 200
88
+ message: ''
89
+ headers:
90
+ Server:
91
+ - openresty/1.11.2.2
92
+ Date:
93
+ - Tue, 28 Feb 2017 07:49:56 GMT
94
+ Content-Type:
95
+ - application/vnd.datacite.datacite+xml
96
+ Content-Length:
97
+ - '2045'
98
+ Connection:
99
+ - keep-alive
100
+ Cache-Control:
101
+ - no-transform, max-age=3600
102
+ Last-Modified:
103
+ - Mon, 09 Jan 2017 13:53:11 GMT
104
+ Vary:
105
+ - Accept
106
+ Access-Control-Allow-Origin:
107
+ - "*"
108
+ Access-Control-Allow-Methods:
109
+ - GET, POST, OPTIONS
110
+ body:
111
+ encoding: UTF-8
112
+ string: |
113
+ <?xml version="1.0" encoding="UTF-8"?>
114
+ <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd">
115
+ <identifier identifierType="DOI">10.5438/4K3M-NYVG</identifier>
116
+ <creators>
117
+ <creator>
118
+ <creatorName>Fenner, Martin</creatorName>
119
+ <givenName>Martin</givenName>
120
+ <familyName>Fenner</familyName>
121
+ <nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">0000-0003-1419-2405</nameIdentifier>
122
+ </creator>
123
+ </creators>
124
+ <titles>
125
+ <title>Eating your own Dog Food</title>
126
+ </titles>
127
+ <publisher>DataCite</publisher>
128
+ <publicationYear>2016</publicationYear>
129
+ <resourceType resourceTypeGeneral="Text">BlogPosting</resourceType>
130
+ <alternateIdentifiers>
131
+ <alternateIdentifier alternateIdentifierType="Local accession number">MS-49-3632-5083</alternateIdentifier>
132
+ </alternateIdentifiers>
133
+ <subjects>
134
+ <subject>datacite</subject>
135
+ <subject>doi</subject>
136
+ <subject>metadata</subject>
137
+ </subjects>
138
+ <dates>
139
+ <date dateType="Created">2016-12-20</date>
140
+ <date dateType="Issued">2016-12-20</date>
141
+ <date dateType="Updated">2016-12-20</date>
142
+ </dates>
143
+ <relatedIdentifiers>
144
+ <relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/0012</relatedIdentifier>
145
+ <relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/55E5-T5C0</relatedIdentifier>
146
+ <relatedIdentifier relatedIdentifierType="DOI" relationType="IsPartOf">10.5438/0000-00SS</relatedIdentifier>
147
+ </relatedIdentifiers>
148
+ <version>1.0</version>
149
+ <descriptions>
150
+ <description descriptionType="Abstract">Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...</description>
151
+ </descriptions>
152
+ </resource>
153
+ http_version:
154
+ recorded_at: Tue, 28 Feb 2017 07:49:56 GMT
155
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,134 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://doi.org/10.4230/lipics.tqc.2013.93
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Maremma - https://github.com/datacite/maremma
12
+ Accept:
13
+ - application/vnd.datacite.datacite+xml
14
+ response:
15
+ status:
16
+ code: 303
17
+ message: ''
18
+ headers:
19
+ Server:
20
+ - Apache-Coyote/1.1
21
+ Vary:
22
+ - Accept
23
+ Location:
24
+ - http://data.datacite.org/10.4230%2Flipics.tqc.2013.93
25
+ Expires:
26
+ - Tue, 28 Feb 2017 08:33:29 GMT
27
+ Content-Type:
28
+ - text/html;charset=utf-8
29
+ Content-Length:
30
+ - '191'
31
+ Date:
32
+ - Tue, 28 Feb 2017 07:49:12 GMT
33
+ body:
34
+ encoding: UTF-8
35
+ string: |-
36
+ <html><head><title>Handle Redirect</title></head>
37
+ <body><a href="http://data.datacite.org/10.4230%2Flipics.tqc.2013.93">http://data.datacite.org/10.4230%2Flipics.tqc.2013.93</a></body></html>
38
+ http_version:
39
+ recorded_at: Tue, 28 Feb 2017 07:49:12 GMT
40
+ - request:
41
+ method: get
42
+ uri: http://data.datacite.org/10.4230%2Flipics.tqc.2013.93
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ''
46
+ headers:
47
+ User-Agent:
48
+ - Maremma - https://github.com/datacite/maremma
49
+ Accept:
50
+ - application/vnd.datacite.datacite+xml
51
+ response:
52
+ status:
53
+ code: 301
54
+ message: ''
55
+ headers:
56
+ Server:
57
+ - openresty/1.11.2.2
58
+ Date:
59
+ - Tue, 28 Feb 2017 07:49:12 GMT
60
+ Content-Type:
61
+ - text/html
62
+ Content-Length:
63
+ - '191'
64
+ Connection:
65
+ - keep-alive
66
+ Location:
67
+ - https://data.datacite.org/10.4230%2Flipics.tqc.2013.93
68
+ body:
69
+ encoding: UTF-8
70
+ string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
71
+ bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
72
+ http_version:
73
+ recorded_at: Tue, 28 Feb 2017 07:49:12 GMT
74
+ - request:
75
+ method: get
76
+ uri: https://data.datacite.org/10.4230%2Flipics.tqc.2013.93
77
+ body:
78
+ encoding: US-ASCII
79
+ string: ''
80
+ headers:
81
+ User-Agent:
82
+ - Maremma - https://github.com/datacite/maremma
83
+ Accept:
84
+ - application/vnd.datacite.datacite+xml
85
+ response:
86
+ status:
87
+ code: 200
88
+ message: ''
89
+ headers:
90
+ Server:
91
+ - openresty/1.11.2.2
92
+ Date:
93
+ - Tue, 28 Feb 2017 07:49:13 GMT
94
+ Content-Type:
95
+ - application/vnd.datacite.datacite+xml
96
+ Content-Length:
97
+ - '1919'
98
+ Connection:
99
+ - keep-alive
100
+ Cache-Control:
101
+ - no-transform, max-age=3600
102
+ Last-Modified:
103
+ - Wed, 13 Nov 2013 13:42:17 GMT
104
+ Vary:
105
+ - Accept
106
+ Access-Control-Allow-Origin:
107
+ - "*"
108
+ Access-Control-Allow-Methods:
109
+ - GET, POST, OPTIONS
110
+ body:
111
+ encoding: UTF-8
112
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<resource xmlns=\"http://datacite.org/schema/kernel-2.1\"
113
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://datacite.org/schema/kernel-2.1
114
+ http://schema.datacite.org/meta/kernel-2.1/metadata.xsd\">\n<identifier identifierType=\"DOI\">10.4230/LIPIcs.TQC.2013.93</identifier>\n<creators>\n<creator>\n<creatorName>Johnston,
115
+ Nathaniel</creatorName>\n</creator>\n</creators>\n<titles>\n\t<title>The Minimum
116
+ Size of Qubit Unextendible Product Bases</title>\n</titles>\n<publisher>Schloss
117
+ Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH, Wadern/Saarbruecken, Germany</publisher>\n<publicationYear>2013</publicationYear>\n<subjects>\n\t<subject>Computer
118
+ Science</subject>\n\t<subject subjectScheme=\"DDC\">000 Computer science,
119
+ knowledge, general works</subject>\n</subjects>\n<contributors>\n\t<contributor
120
+ contributorType=\"Editor\">\n\t\t<contributorName>Herbstritt, Marc</contributorName>\n\t</contributor>\n</contributors>\n<dates>\n\t<date
121
+ dateType=\"Available\">2013-11-05</date>\n</dates>\n<language>eng</language>\n<resourceType
122
+ resourceTypeGeneral=\"Text\">ConferencePaper</resourceType>\n<sizes>\n\t<size>13
123
+ pages</size>\n</sizes>\n<formats>\n\t<format>application/pdf</format>\n</formats>\n<version>1.0</version>\n<rights>Creative
124
+ Commons Attribution 3.0 Unported license (CC-BY 3.0)</rights>\n<descriptions>\n\t<description
125
+ descriptionType=\"Other\">\n\tWe investigate the problem of constructing unextendible
126
+ product bases in the qubit case - that is, when each local dimension equals
127
+ 2. The cardinality of the smallest unextendible product basis is known in
128
+ all qubit cases except when the number of parties is a multiple of 4 greater
129
+ than 4 itself. We construct small unextendible product bases in all of the
130
+ remaining open cases, and we use graph theory techniques to produce a computer-assisted
131
+ proof that our constructions are indeed the smallest possible.\n\t</description>\n</descriptions>\n</resource>\n"
132
+ http_version:
133
+ recorded_at: Tue, 28 Feb 2017 07:49:13 GMT
134
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,155 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://doi.org/10.5438/4k3m-nyvg
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Maremma - https://github.com/datacite/maremma
12
+ Accept:
13
+ - application/vnd.datacite.datacite+xml
14
+ response:
15
+ status:
16
+ code: 303
17
+ message: ''
18
+ headers:
19
+ Server:
20
+ - Apache-Coyote/1.1
21
+ Vary:
22
+ - Accept
23
+ Location:
24
+ - http://data.datacite.org/10.5438%2F4k3m-nyvg
25
+ Expires:
26
+ - Tue, 28 Feb 2017 08:33:29 GMT
27
+ Content-Type:
28
+ - text/html;charset=utf-8
29
+ Content-Length:
30
+ - '173'
31
+ Date:
32
+ - Tue, 28 Feb 2017 07:54:15 GMT
33
+ body:
34
+ encoding: UTF-8
35
+ string: |-
36
+ <html><head><title>Handle Redirect</title></head>
37
+ <body><a href="http://data.datacite.org/10.5438%2F4k3m-nyvg">http://data.datacite.org/10.5438%2F4k3m-nyvg</a></body></html>
38
+ http_version:
39
+ recorded_at: Tue, 28 Feb 2017 07:54:16 GMT
40
+ - request:
41
+ method: get
42
+ uri: http://data.datacite.org/10.5438%2F4k3m-nyvg
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ''
46
+ headers:
47
+ User-Agent:
48
+ - Maremma - https://github.com/datacite/maremma
49
+ Accept:
50
+ - application/vnd.datacite.datacite+xml
51
+ response:
52
+ status:
53
+ code: 301
54
+ message: ''
55
+ headers:
56
+ Server:
57
+ - openresty/1.11.2.2
58
+ Date:
59
+ - Tue, 28 Feb 2017 07:54:16 GMT
60
+ Content-Type:
61
+ - text/html
62
+ Content-Length:
63
+ - '191'
64
+ Connection:
65
+ - keep-alive
66
+ Location:
67
+ - https://data.datacite.org/10.5438%2F4k3m-nyvg
68
+ body:
69
+ encoding: UTF-8
70
+ string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
71
+ bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
72
+ http_version:
73
+ recorded_at: Tue, 28 Feb 2017 07:54:16 GMT
74
+ - request:
75
+ method: get
76
+ uri: https://data.datacite.org/10.5438%2F4k3m-nyvg
77
+ body:
78
+ encoding: US-ASCII
79
+ string: ''
80
+ headers:
81
+ User-Agent:
82
+ - Maremma - https://github.com/datacite/maremma
83
+ Accept:
84
+ - application/vnd.datacite.datacite+xml
85
+ response:
86
+ status:
87
+ code: 200
88
+ message: ''
89
+ headers:
90
+ Server:
91
+ - openresty/1.11.2.2
92
+ Date:
93
+ - Tue, 28 Feb 2017 07:54:16 GMT
94
+ Content-Type:
95
+ - application/vnd.datacite.datacite+xml
96
+ Content-Length:
97
+ - '2045'
98
+ Connection:
99
+ - keep-alive
100
+ Cache-Control:
101
+ - no-transform, max-age=3600
102
+ Last-Modified:
103
+ - Mon, 09 Jan 2017 13:53:11 GMT
104
+ Vary:
105
+ - Accept
106
+ Access-Control-Allow-Origin:
107
+ - "*"
108
+ Access-Control-Allow-Methods:
109
+ - GET, POST, OPTIONS
110
+ body:
111
+ encoding: UTF-8
112
+ string: |
113
+ <?xml version="1.0" encoding="UTF-8"?>
114
+ <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd">
115
+ <identifier identifierType="DOI">10.5438/4K3M-NYVG</identifier>
116
+ <creators>
117
+ <creator>
118
+ <creatorName>Fenner, Martin</creatorName>
119
+ <givenName>Martin</givenName>
120
+ <familyName>Fenner</familyName>
121
+ <nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">0000-0003-1419-2405</nameIdentifier>
122
+ </creator>
123
+ </creators>
124
+ <titles>
125
+ <title>Eating your own Dog Food</title>
126
+ </titles>
127
+ <publisher>DataCite</publisher>
128
+ <publicationYear>2016</publicationYear>
129
+ <resourceType resourceTypeGeneral="Text">BlogPosting</resourceType>
130
+ <alternateIdentifiers>
131
+ <alternateIdentifier alternateIdentifierType="Local accession number">MS-49-3632-5083</alternateIdentifier>
132
+ </alternateIdentifiers>
133
+ <subjects>
134
+ <subject>datacite</subject>
135
+ <subject>doi</subject>
136
+ <subject>metadata</subject>
137
+ </subjects>
138
+ <dates>
139
+ <date dateType="Created">2016-12-20</date>
140
+ <date dateType="Issued">2016-12-20</date>
141
+ <date dateType="Updated">2016-12-20</date>
142
+ </dates>
143
+ <relatedIdentifiers>
144
+ <relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/0012</relatedIdentifier>
145
+ <relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/55E5-T5C0</relatedIdentifier>
146
+ <relatedIdentifier relatedIdentifierType="DOI" relationType="IsPartOf">10.5438/0000-00SS</relatedIdentifier>
147
+ </relatedIdentifiers>
148
+ <version>1.0</version>
149
+ <descriptions>
150
+ <description descriptionType="Abstract">Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...</description>
151
+ </descriptions>
152
+ </resource>
153
+ http_version:
154
+ recorded_at: Tue, 28 Feb 2017 07:54:16 GMT
155
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,186 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://doi.org/10.5281/zenodo.48440
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Maremma - https://github.com/datacite/maremma
12
+ Accept:
13
+ - application/vnd.datacite.datacite+xml
14
+ response:
15
+ status:
16
+ code: 303
17
+ message: ''
18
+ headers:
19
+ Server:
20
+ - Apache-Coyote/1.1
21
+ Vary:
22
+ - Accept
23
+ Location:
24
+ - http://data.datacite.org/10.5281%2Fzenodo.48440
25
+ Expires:
26
+ - Tue, 28 Feb 2017 08:33:29 GMT
27
+ Content-Type:
28
+ - text/html;charset=utf-8
29
+ Content-Length:
30
+ - '179'
31
+ Date:
32
+ - Tue, 28 Feb 2017 08:15:36 GMT
33
+ body:
34
+ encoding: UTF-8
35
+ string: |-
36
+ <html><head><title>Handle Redirect</title></head>
37
+ <body><a href="http://data.datacite.org/10.5281%2Fzenodo.48440">http://data.datacite.org/10.5281%2Fzenodo.48440</a></body></html>
38
+ http_version:
39
+ recorded_at: Tue, 28 Feb 2017 08:15:36 GMT
40
+ - request:
41
+ method: get
42
+ uri: http://data.datacite.org/10.5281%2Fzenodo.48440
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ''
46
+ headers:
47
+ User-Agent:
48
+ - Maremma - https://github.com/datacite/maremma
49
+ Accept:
50
+ - application/vnd.datacite.datacite+xml
51
+ response:
52
+ status:
53
+ code: 301
54
+ message: ''
55
+ headers:
56
+ Server:
57
+ - openresty/1.11.2.2
58
+ Date:
59
+ - Tue, 28 Feb 2017 08:15:36 GMT
60
+ Content-Type:
61
+ - text/html
62
+ Content-Length:
63
+ - '191'
64
+ Connection:
65
+ - keep-alive
66
+ Location:
67
+ - https://data.datacite.org/10.5281%2Fzenodo.48440
68
+ body:
69
+ encoding: UTF-8
70
+ string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
71
+ bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
72
+ http_version:
73
+ recorded_at: Tue, 28 Feb 2017 08:15:36 GMT
74
+ - request:
75
+ method: get
76
+ uri: https://data.datacite.org/10.5281%2Fzenodo.48440
77
+ body:
78
+ encoding: US-ASCII
79
+ string: ''
80
+ headers:
81
+ User-Agent:
82
+ - Maremma - https://github.com/datacite/maremma
83
+ Accept:
84
+ - application/vnd.datacite.datacite+xml
85
+ response:
86
+ status:
87
+ code: 200
88
+ message: ''
89
+ headers:
90
+ Server:
91
+ - openresty/1.11.2.2
92
+ Date:
93
+ - Tue, 28 Feb 2017 08:15:36 GMT
94
+ Content-Type:
95
+ - application/vnd.datacite.datacite+xml
96
+ Content-Length:
97
+ - '2773'
98
+ Connection:
99
+ - keep-alive
100
+ Cache-Control:
101
+ - no-transform, max-age=3600
102
+ Last-Modified:
103
+ - Mon, 04 Apr 2016 15:04:32 GMT
104
+ Vary:
105
+ - Accept
106
+ Access-Control-Allow-Origin:
107
+ - "*"
108
+ Access-Control-Allow-Methods:
109
+ - GET, POST, OPTIONS
110
+ body:
111
+ encoding: UTF-8
112
+ string: |
113
+ <resource xmlns="http://datacite.org/schema/kernel-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd">
114
+ <identifier identifierType="DOI">10.5281/zenodo.48440</identifier>
115
+ <creators>
116
+ <creator>
117
+ <creatorName>Kristian Garza</creatorName>
118
+ </creator>
119
+ </creators>
120
+ <titles>
121
+ <title>Analysis Tools for Crossover Experiment of UI using Choice Architecture</title>
122
+ </titles>
123
+ <publisher>Zenodo</publisher>
124
+ <publicationYear>2016</publicationYear>
125
+ <subjects>
126
+ <subject>choice architecture</subject>
127
+ <subject>crossover experiment</subject>
128
+ <subject>hci</subject>
129
+ </subjects>
130
+ <dates>
131
+ <date dateType="Issued">2016-03-27</date>
132
+ </dates>
133
+ <resourceType resourceTypeGeneral="Software"/>
134
+ <alternateIdentifiers>
135
+ <alternateIdentifier alternateIdentifierType="URL">http://zenodo.org/record/48440</alternateIdentifier>
136
+ </alternateIdentifiers>
137
+ <relatedIdentifiers>
138
+ <relatedIdentifier relationType="IsSupplementTo" relatedIdentifierType="URL">https://github.com/kjgarza/frame_experiment_analysis/tree/v1.0</relatedIdentifier>
139
+ </relatedIdentifiers>
140
+ <rightsList>
141
+ <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
142
+ <rights rightsURI="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike</rights>
143
+ </rightsList>
144
+ <descriptions>
145
+ <description descriptionType="Abstract">&lt;p&gt;&amp;nbsp;&lt;/p&gt;
146
+
147
+ &lt;p&gt;This tools are used to analyse the data produced by the Crosssover Experiment I designed to test Choice Architecture techniques as UI interventions in a SEEk4Science data catalogue. It contains:&lt;/p&gt;
148
+
149
+ &lt;p&gt;- Data structures for the experimental data.&lt;br /&gt;
150
+ - Visualisation functions&lt;br /&gt;
151
+ - Analysis functions&lt;/p&gt;
152
+
153
+ &lt;p&gt;## Installation&lt;/p&gt;
154
+
155
+ &lt;p&gt;- R&lt;br /&gt;
156
+ - python&lt;br /&gt;
157
+ - ipython 4&lt;/p&gt;
158
+
159
+ &lt;p&gt;Clone and use.&lt;/p&gt;
160
+
161
+ &lt;p&gt;## Usage&lt;/p&gt;
162
+
163
+ &lt;p&gt;&lt;br /&gt;
164
+ ```python&lt;br /&gt;
165
+ source(&amp;#39;parallel_plot.r&amp;#39;)&lt;br /&gt;
166
+ with(z, parallelset(trt,response, freq=count, alpha=0.2))&lt;br /&gt;
167
+ ```&lt;/p&gt;
168
+
169
+ &lt;p&gt;&lt;br /&gt;
170
+ ## Contributing&lt;/p&gt;
171
+
172
+ &lt;p&gt;1. Fork it!&lt;br /&gt;
173
+ 2. Create your feature branch: `git checkout -b my-new-feature`&lt;br /&gt;
174
+ 3. Commit your changes: `git commit -am &amp;#39;Add some feature&amp;#39;`&lt;br /&gt;
175
+ 4. Push to the branch: `git push origin my-new-feature`&lt;br /&gt;
176
+ 5. Submit a pull request :D&lt;/p&gt;
177
+
178
+ &lt;p&gt;&lt;br /&gt;
179
+ ## License&lt;/p&gt;
180
+
181
+ &lt;p&gt;This work supports my PhD Thesis at University of Manchester.&lt;/p&gt;</description>
182
+ </descriptions>
183
+ </resource>
184
+ http_version:
185
+ recorded_at: Tue, 28 Feb 2017 08:15:36 GMT
186
+ recorded_with: VCR 3.0.3