Modify this so that getDataObject() is also used to fetch the resource map, so that obtaining the resource map uses the same method as all the package members (where getDataObject() uses CN resolve, and in the near future will feature a retry mechanism in the event of a download problem or
corrupted replica - i.e. checksum doesn't match bits).
getDataPackage()
callsgetDataObject()
to obtain all objects and their sysmeta, except for the resource map itself, for whichgetObject()
is used: https://github.com/DataONEorg/rdataone/blob/master/R/D1Client.R#L537Modify this so that
getDataObject()
is also used to fetch the resource map, so that obtaining the resource map uses the same method as all the package members (wheregetDataObject()
uses CN resolve, and in the near future will feature a retry mechanism in the event of a download problem or corrupted replica - i.e. checksum doesn't match bits).