Data packages and their contents can be accessed through the EDI Data Portal, EDIutils R Package, and the REST API. These options support scientific workflows driven by manual human effort and automated machine routines.
The EDI Data Portal provides data access through a user-friendly web browser interface.
Point and click
Single data objects or the entire data package can be downloaded as files:
- From a data package landing page, navigate to the Resources section.
- Download individual resources by clicking the links under Download Data.
- Use the Download Zip Archive button to download the entire data package.
Data download scripts
Data download scripts, read data directly from the EDI Repository into common programming language workspaces. This option supports reproducible research by accessing the data directly and reducing the possibility of errors propagating through local files.
- Navigate to the Code Generation section of a data package landing page.
- Select the language of interest (R, Python, MATLAB, etc).
- Download the script that is generated as a file, or copy and paste the text into the development environment of the language (e.g. RStudio).
The EDIutils R package allows data to be read directly from the EDI Repository into the R environment. This option serves a similar use case as the data download scripts but provides full access to the REST API, which is useful when constructing automated workflows.
- Download the metadata of a data package using the
- Download individual resources from a data package using the
- Download an entire data package as a zip archive using the
See the Search and Access Data vignette for examples.
Accessing embargoed data
Embargoed data can be accessed by users who are authorized according to the <access> element of the EML file. Users should reach out directly to the contact listed on the data package for access to embargoed data. If the contact is unresponsive, contact EDI for assistance.