Skip to content

Instantly share code, notes, and snippets.

@lietwin
lietwin / dropbox_api_with_httr.md
Created October 21, 2015 13:48
Dropbox API OAuth2 authentication and API calls in R via the package {httr}

#Using Dropbox API in R via {httr}

Description

Connect to DropBox API via OAuth2.0 in R and manipulate folders and files using {httr} package. The following uses Dropbox API v2

Connecting to Dropbox API

Get the Dropbox app settings (name, key etc.)

# Provide a .csv file containing your apps credentials with the following header
@lietwin
lietwin / rm_blank_lines_regex
Created May 23, 2016 10:50
Regex to remove blank lines
^(?:[\t ]*(?:\r?\n|\r))+

Keybase proof

I hereby claim:

  • I am lietwin on github.
  • I am lietwin (https://keybase.io/lietwin) on keybase.
  • I have a public key ASBB3sUgsBLOaj294yO9Ie4L-DBuXrqESnDd5OH9BroDhwo

To claim this, I am signing this object: