This is such a great package and its existence makes it so much easier to recommend OSF as a hosting platform for projects.
I'm trying to figure out whether it is possible to read data directly from the OSF storage, specifically raster layers. For instance, if I host a .tif on AWS S3, I can use /vsis3/ and the {terra} package to read the raster metadata without first downloading the whole file. I can then crop it and just download a smaller portion: r = terra::rast(glue::glue('s3://{bucket_name}/{raster_basename})). Is something like this possible with the OSF API, which might then make it a potential hugely valuable feature for {osfr}?
Here's an OSF page for an OSF Storage-hosted .tif in case that's handy for anyone: https://osf.io/kwreq
Hi all,
This is such a great package and its existence makes it so much easier to recommend OSF as a hosting platform for projects.
I'm trying to figure out whether it is possible to read data directly from the OSF storage, specifically raster layers. For instance, if I host a .tif on AWS S3, I can use /vsis3/ and the {terra} package to read the raster metadata without first downloading the whole file. I can then crop it and just download a smaller portion:
r = terra::rast(glue::glue('s3://{bucket_name}/{raster_basename}))
. Is something like this possible with the OSF API, which might then make it a potential hugely valuable feature for {osfr}?Here's an OSF page for an OSF Storage-hosted .tif in case that's handy for anyone: https://osf.io/kwreq