Skip to content

Your partner in decision science

We uncover objective truths through custom quantitative research programs built for impact. Our team blends curiosity, rigor, and advanced methods to help you make smarter, more confident decisions.

Meet the team behind the insights—curious, rigorous, and driven by purpose.

Our values shape how we work—with each other and with every client.

Join our remote-first team and help shape the future of decision science.

Let’s talk through your big questions and figure out the evidence that matters.

How we do research differently

For us, research isn’t about numbers in a spreadsheet—it’s about answering your most important questions with clarity, purpose, and real-world impact.

We begin with the decision you need to make—then design lean, focused research to get you there.

Spotting trends is simple. Uncovering why takes rigor. Our statistical models reveal hidden drivers that turn data into confident action.

AI is powerful, but it can’t replicate lived experience. We use it to streamline our process—not to replace the human responses that are central to our research.

See what insight can do

We believe sharing knowledge is as important as creating it. That’s why we’ve built a library of resources designed to inform, inspire, and empower decision-makers like you.

See how we’ve answered complex questions with research backed insights and creative problem-solving.

Our point of view on what’s happening in research, strategy, and human behavior.

Stay ahead with our regular roundup of fresh ideas, actionable advice, and the stories shaping the future of market research.
bg_default_6
Stefan MuschOct 9, 2023 2:30:30 PM3 min read

Simplify Cloud Storage in R with cloudfs: A Game-Changer for Data Analysis Projects

In the world of data analysis, managing project assets can often feel like a juggling act. You have your input data, your code sources, and your outputs, all crucial components of a successful project. But where do you store them? How do you ensure efficiency, organization, and easy access for your team?

This is where cloudfs comes into play, a powerful R package designed to simplify cloud storage interactions. Developed by Gradient, a market research firm grounded in advanced statistical methodologies, cloudfs offers a unified interface for handling cloud storage with ease, supporting both Google Drive and Amazon S3. In this blog post, we'll explore why we built this package and how it can improve your data analysis projects.

Introducing cloudfs: Streamlining & Simplifying Cloud Storage

cloudfs is all about making your life easier when it comes to managing cloud storage for data analysis projects. It seamlessly integrates with Google Drive and Amazon S3, two of the most popular cloud storage platforms. With cloudfs, you can set up cloud roots effortlessly, ensuring that your project's artifacts are stored in an organized and accessible way.

Reducing the Cloud Complexity

Before we delve into the magic of cloudfs, let's talk about the challenges data analysts face when dealing with cloud storage. Imagine the task of uploading a file to Amazon S3 using traditional methods, as illustrated by this code snippet:

aws.s3::put_object(
  bucket = "project-data",
  object = "project-1/models/glm.rds",
  file = "models/glm.rds"
)

Notice the location redundancy and path duplication? These repetitive tasks can be time-consuming and error-prone. But fear not; cloudfs is here to simplify things.

Solving the Problem with cloudfs

With cloudfs, those cumbersome lines of code become a thing of the past. Uploading files to the cloud becomes as neat as a well-organized spreadsheet. For example:

cloud_s3_upload("models/glm.rds")

No more constant specification of static locations or dealing with path duplication. cloudfs streamlines the process, making your workflow smoother and more efficient.

Uploading, Downloading, Reading, and Writing

cloudfs offers a comprehensive set of functions for various cloud storage interactions. Whether you're uploading, downloading, reading, or writing files, the package's intuitive function naming conventions make your intentions clear. It's as straightforward as it gets.

Practical Examples: Making Data Transfer a Breeze

Let's dive into practical examples of how cloudfs can simplify your data transfer tasks. Need to upload an image to Google Drive? It's a one-liner:

cloud_drive_upload("plots/scatterplot.png")

Want to export data to a spreadsheet? Easy:

cloud_drive_write(summary_df, "results/mtcars_summary.xlsx")

cloudfs makes these operations a breeze, saving you time and effort.

For projects with multiple files, cloudfs shines. It simplifies the management of numerous files simultaneously: 

all_data <-
  cloud_drive_ls("data") %>%
  cloud_drive_read_bulk()

Or when uploading:

cloud_local_ls("plots") %>%
  filter(type == "png") %>%
  cloud_drive_upload_bulk()

Flexibility and Customization

Not only does cloudfs offer simplicity, but it also gives you the flexibility to customize writing and reading methods. Tailor your cloud storage preferences to your exact needs.

And let's not forget, cloudfs offers a parallel set of functions designed specifically for Amazon S3 interactions. Whether you choose Google Drive or Amazon S3, cloudfs has you covered.

Simple and Efficient Interaction with Cloud Storage

Systems in R

In conclusion, cloudfs is your go-to tool for conquering the challenges of cloud storage in data analysis projects. It streamlines processes, offers flexibility, and scales with your needs. And with Gradient leading the way, you can trust that you're in the hands of thought leaders in the market research sector.

Ready to simplify your data analysis projects and join the ranks of forward-thinking analysts? Download and install the cloudfs package today. Check out the documentation and start experiencing the future of efficient data storage management.

With cloudfs, the cloud becomes your playground, not your puzzle.

avatar
Stefan Musch
Stefan holds a master’s degree in Marketing and Management from Tilburg University. After Tilburg, Stefan went into industry where he applied state-of-the-art marketing science methods to business challenges. Stefan partners with client teams to translate advanced analysis to easy-to-implement recommendations, guiding managers along the way.

RELATED ARTICLES