BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
More88
Calcite | Level 5
Hello!
I have a question. Soon I will work with some data that are located on a shared fold in the google drive. This dataset is a STATA dataset. How can I import a STATA dataset that is located in google drive?
Thank you very much for your help!
1 ACCEPTED SOLUTION

Accepted Solutions
SASJedi
Ammonite | Level 13

For a good start accecsing data in cloud storage, like Google Drive, DropBox, etc., check out this post: 
Using SAS to access data stored on Dropbox
The SAS/ACCESS Interface for PC Files can import STATA data. The code will be something like this:

proc import datafile="mySTATAfile.dta" 
   out=work.mySTATdata 
   dbms=DTA
    REPLACE;
 run;
Check out my Jedi SAS Tricks for SAS Users

View solution in original post

1 REPLY 1
SASJedi
Ammonite | Level 13

For a good start accecsing data in cloud storage, like Google Drive, DropBox, etc., check out this post: 
Using SAS to access data stored on Dropbox
The SAS/ACCESS Interface for PC Files can import STATA data. The code will be something like this:

proc import datafile="mySTATAfile.dta" 
   out=work.mySTATdata 
   dbms=DTA
    REPLACE;
 run;
Check out my Jedi SAS Tricks for SAS Users

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 992 views
  • 1 like
  • 2 in conversation