Hello
I imported a txt file and then accidentally overwrote it as a txt file. I did not change any of the file’s contents, but the save command has resulted in an apparently corrupt txt file full of ‘gibberish’ characters.
Here's my code:
import delim using “C:\myfolder\myfile.txt”, delim(“|”)
save “C:\myfolder\myfile.txt”, replace
Is there any chance of restoring the original content, which presumably is still in there somewhere amongst all the gibberish characters?
Any advice greatly appreciated
With thanks
Related Posts with Accidentally saved as txt file
Fixed Effects/Random Effects regressions - how to collapse sector controls in regression output?Hello ! I am currently running FE/RE regressions on my dataset and I have a control variable "Secto…
How to plot linearity tests and confidence interval for the thresholds in Threshold of Hansen (1997)?Hello, I am estimating threshold effect of tax revenue on growth for a single country using command…
how to create this table?Array I succeed to run these 6 regressions. The first 3 regressions are OLS and the last 3 columns…
Duplication of ID variables in panel dataHi All. I have the following duplication of data in id & p_id, which I need to resolve. This da…
Keeping duplicate observations with the true value in other variablesHi Stata users, I have a problem looping over string values. I have a data set that contains duplic…
Subscribe to:
Post Comments (Atom)
0 Response to Accidentally saved as txt file
Post a Comment