I need to import a sample from a .dta file that is too large (67 GB) to load all at once. Let’s say I want to import a random sample of 1% observations from this dataset. Is there any way to do this?
I cannot use:
Because the program will crash on the first line.
I cannot use:
Code:
use large_file.dta, clear sample 1%, count
Comment