-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SWORD: support author affiliation, contributor name/type #899
- Loading branch information
Showing
4 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
USERNAME=pete | ||
PASSWORD=pete | ||
DVN_SERVER=localhost:8181 | ||
DATAVERSE_ALIAS=peteTop | ||
curl -s --insecure --data-binary "@scripts/api/data-deposit/data/atom-entry-study-899-expansion.xml" -H "Content-Type: application/atom+xml" -u $USERNAME:$PASSWORD https://$DVN_SERVER/dvn/api/data-deposit/v1/swordv2/collection/dataverse/$DATAVERSE_ALIAS \ | ||
| xmllint -format - |
27 changes: 27 additions & 0 deletions
27
scripts/api/data-deposit/data/atom-entry-study-899-expansion.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:dcterms="http://purl.org/dc/terms/"> | ||
<dcterms:title>“Changes in test-taking patterns over time” concerning the Flynn Effect in Estonia</dcterms:title> | ||
<!-- description of the data rather than the article --> | ||
<dcterms:description>The dataset from our previous Intelligence paper consists of data collected with the National Intelligence Tests (NIT, Estonian adaptation) in two historical time points: in 1934/36 (N=890) and 2006 (N=913) for students with an average age of 13. The data-file consists of information about cohort, age, and gender and test results at the item level for nine of the ten NIT subtests and subtest scores for the 10th subtest. Three answer types are separated: right answer, wrong answer and missing answer. Data can be used for psychometric research of cohort and sex differences at the scale and item level.</dcterms:description> | ||
<!-- Author and Affiliation are being used by this particular user. Affiliation is another attribute hack --> | ||
<dcterms:creator affiliation="Department of Psychology, University of Tartu, Estonia">Must, Olev</dcterms:creator> | ||
<dcterms:creator affiliation="Department of Psychology, University of Tartu, Estonia">Must, Aasa</dcterms:creator> | ||
<dcterms:contributor type="Funder">Estonian Scientific Foundation: grant no 2387 and 5856. European Social Fund: a Primus grant (#3-8.2/60) to Anu Realo. Baylor University financial support for data quality control in archive.</dcterms:contributor> | ||
<!-- dataset producer rather than Journal Publisher: --> | ||
<dcterms:publisher>Insert Dataset publisher</dcterms:publisher> | ||
<dcterms:rights>Journal copyright, license or terms of use notice</dcterms:rights> | ||
<!-- production date in Dataverse: --> | ||
<!-- date, if published: --> | ||
<dcterms:date>2014-09-22</dcterms:date> | ||
<dcterms:available>2014-09-22</dcterms:available> | ||
<!-- URI attributes, if published: --> | ||
<dcterms:isReferencedBy agency="DOI" IDNo="" holdingsURI="http://dx.doi.org/">Must, O., & Must, A. (2014). Sample submission. Journal Of Plugin Testing, 1(2).</dcterms:isReferencedBy> | ||
<!-- Discipline, subject classification, keywords & coverage, if journal has enabled these fields enabled in article metadata forms --> | ||
<dcterms:subject>Academic discipline</dcterms:subject> | ||
<dcterms:subject>Subject classification</dcterms:subject> | ||
<dcterms:subject>Article keywords</dcterms:subject> | ||
<dcterms:subject>Geographic coverage</dcterms:subject> | ||
<!-- Supplementary file: subject, type --> | ||
<dcterms:subject>Keyword 1, keyword 2, keyword 3</dcterms:subject> | ||
<dcterms:type>Data Set</dcterms:type> | ||
</entry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
if [ -z "$1" ]; then | ||
curl -s http://localhost:8080/api/datasetfield | ||
else | ||
curl -s http://localhost:8080/api/datasetfield/$1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters