Skip to content

Commit

Permalink
Add note about supporting /citation
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Dec 17, 2024
1 parent f9e3d70 commit 53fba84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions repo2docker/contentproviders/dataverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,10 @@ def get_datafiles(self, url: str) -> List[dict]:
- /citation: https://dataverse.harvard.edu/citation?persistentId=doi:10.7910/DVN/TJCLKP
- /dataset.xhtml: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/TJCLKP
Supports the following *file* URL styles:
Supports the following *file* URL styles (entire dataset file belongs to will be fetched):
- /api/access/datafile: https://dataverse.harvard.edu/api/access/datafile/3323458
Supports a subset of the following *file* URL styles:
- /file.xhtml: https://dataverse.harvard.edu/file.xhtml?persistentId=doi:10.7910/DVN/6ZXAGT/3YRRYJ
- /citation: https://dataverse.harvard.edu/citation?persistentId=doi:10.7910/DVN/6ZXAGT/3YRRYJ
If a URL can not be parsed, throw an exception
"""
Expand Down

0 comments on commit 53fba84

Please sign in to comment.