Skip to content

Commit

Permalink
Merge pull request #168 from RobLBaker/main
Browse files Browse the repository at this point in the history
Make EMLscript more useable
  • Loading branch information
RobLBaker authored Nov 4, 2024
2 parents 8299500 + 2c67a3f commit e6a0b99
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# EMLeditor v0.1.7 (under development)
## 2024-11-04
* Fix documentation in EMLscript code chunk that can make it difficult/confusing to enter user input after running the `upload_data_package` function.
## 2024-10-23
* updates and fixes to documentation including spelling, grammar, and clarity
* remove non-exported functions from documentation
Expand Down
5 changes: 3 additions & 2 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ articles:
a03_Template_edits: a03_Template_edits.html
a04_Editing_fixing_eml: a04_Editing_fixing_eml.html
a05_advanced_functionality: a05_advanced_functionality.html
last_built: 2024-10-23T14:29Z
last_built: 2024-11-04T20:37Z
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,11 @@ DPchecker::run_congruence_checks()
If everything checked out, you should be ready to upload your data package! We recommend using `upload_data_package()` to accomplish this. The function automatically checks your DOI and uploads to the correct reference on DataStore. All of your files for the data package need to be in the same folder, there can be only one .xml file (ending in "_metadata.xml") and all the other files should be data files in .csv format. Each individual file should be < 32Mb. If you have files > 32Mb, you will need to upload them manually using the web interface on DataStore.
```{r upload}
# this assumes your data package is in the current working directory
EMLeditor::upload_data_package()
# If your data package is somewhere else, specify that:
#upload_data_package("C:/Users/<yourusername>/Documents/my_data_package)
EMLeditor::upload_data_package()
```

From within DataStore you should be able to extract all the information from the metadata file to populate the relevant DataStore fields. In the upper right, select "Edit" from the drop down menu. Then click on the "Files and Links" tab. On the left side of the files list, select the radio button corresponding to your metadata. Then click the "Extract Metadata" button from the top right of box with the files listed in it.
Expand Down

0 comments on commit e6a0b99

Please sign in to comment.