Function to return the equivalent BIDS-type reference for a specific set of data.

bidsify(ID, session, site = NULL, type = "file")

Arguments

ID

CrossProject_ID

session

Subject_Timepoint

site

Site_Name

type

"file" or "folder"

Value

character in BIDS compliant format

Examples

bidsify(1100300, 2)
#> [1] "sub-1100300_ses-02"
bidsify(1100300, 2, "ousAvanto")
#> [1] "sub-1100300_ses-02ousAvanto"
bidsify(1100300, 2, "ousAvanto", type = "folder")
#> [1] "sub-1100300/ses-02ousAvanto"