Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add functions to download/upload from/to OSF #47

Open
kalenkovich opened this issue Sep 5, 2024 · 0 comments
Open

add functions to download/upload from/to OSF #47

kalenkovich opened this issue Sep 5, 2024 · 0 comments

Comments

@kalenkovich
Copy link
Contributor

osfr is great but not too intuitive. I want to be able to do download_from_osf('1xnb2', 'data/eyetracking/fixation-report.tsv') and upload_to_osf('1xnb2', 'data/prepped/fixations.Rds')

  • downloads to a file, uploads a file - no working with virtual files,
  • if local file exists and its md5 is the same as reported by osf - don't download/upload,
  • if there is no internet connection, fail gracefully,
  • if permissions are needed, instruct to set up an OSF PAT

See 01_wrangling.Rmd in ht_seedlings for starter code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant