Skip to contents

Get movementsync recording from OSF

Usage

get_osf_recordings(
  stems = c("NIR_ABh_Puriya", "NIRP1_VS_Hams", "NIRP1_MAK_Jaun", "Gagaku_5_Juha",
    "NIR_DBh_Malhar"),
  to_dir = tempdir(),
  overwrite = FALSE
)

Arguments

stems

zip file stem(s).

to_dir

directory to copy to (default is "tempdir()").

overwrite

overwriting existing dataset files?

Value

invisible vector of downloaded CSV file names.

Examples

# \donttest{
get_osf_recordings()
#> Downloading recording(s) NIR_ABh_Puriya, NIRP1_VS_Hams, NIRP1_MAK_Jaun, Gagaku_5_Juha, NIR_DBh_Malhar ...
#> Unzipping recording NIR_ABh_Puriya ...
#> Saved NIR_ABh_Puriya to /var/folders/b0/vtr2rd_96119zlr64t5hvlgr0000gp/T//RtmpfWCuXk
#> Unzipping recording NIRP1_VS_Hams ...
#> Saved NIRP1_VS_Hams to /var/folders/b0/vtr2rd_96119zlr64t5hvlgr0000gp/T//RtmpfWCuXk
#> Unzipping recording NIRP1_MAK_Jaun ...
#> Saved NIRP1_MAK_Jaun to /var/folders/b0/vtr2rd_96119zlr64t5hvlgr0000gp/T//RtmpfWCuXk
#> Unzipping recording Gagaku_5_Juha ...
#> Saved Gagaku_5_Juha to /var/folders/b0/vtr2rd_96119zlr64t5hvlgr0000gp/T//RtmpfWCuXk
#> Unzipping recording NIR_DBh_Malhar ...
#> Saved NIR_DBh_Malhar to /var/folders/b0/vtr2rd_96119zlr64t5hvlgr0000gp/T//RtmpfWCuXk
# }