
Expand OSF user IDs into their project IDs
Source:R/archive-osf-helpers.R
dot-osf_expand_user_ids.RdAny ID in osf_id that belongs to an OSF user rather than a project is
replaced by that user's projects; every other ID is passed through unchanged.
This is what lets osf_file_download() accept a profile ID and download
everything that user has shared.
Arguments
- osf_id
a vector of OSF IDs (already validated by
osf_check_id())- pb
a progress bar passed from another function