import-file-from-dropbox

Description

import-file-from-dropbox adaptor can be used to import a file stored in Dropbox for use with other adaptors within a workflow.

The file on Dropbox should be shared as Anyone with this link can view. Obtain the file URL by selecting the file you want to import on Dropbox.com, clicking on Share with Dropbox, and then clicking on Copy link to obtain a link to your file. This url is then used as the adaptor input.

Care should be taken when selecting the sharing options for the Dropbox links, to ensure that any data protection and privacy guidelines are followed when creating links that are accessible in Data-flo.

Inputs

url Type: text Required: Yes The URL of the Dropbox file to be imported. You can find this in Dropbox by getting a share link for the file.

Outputs

file Type: file The imported file.

Examples

Example 1: Default behaviour.

Inputs:

file: https://www.dropbox.com/scl/fi/2c0mvrmhuj0pxs09ggi3v/data.csv?rlkey=3vkyl3legz0j67bh88zr8pgfo&dl=0

Outputs:

data output:

idlatitudelongitude

Sample A

4.642276772

-8.17536836

Sample B

5.063345736

-9.051186684

Sample C

5.063345736

-9.051186684

Sample D

4.638091468

-8.17536836

-> In this example, we obtain a link to a file on Dropbox and we import it to Data-flo.

Use Cases

  • Dropbox could be used to house a CSV metadata file and a Newick tree file which could be imported into Data-flo to create a Microreact project.

Last updated