Hi,
So I have browsed the forum, but could not find any solution to my problem so I hope that you guys can help me(:
I need to append two datasets and use the command append using... But i get the error message that "variable startdate is str19 in master but double in using data". Startdate is the variable that makes the problems
In the main data-file the variable startdate is string; type: str19, format: %19s
in the file i want to append to my main file startdate is; type: double, format: %tcdd-Mon-CCYY_HH:MM:SS
In my main file the variable startdate is string and is structured the following way when looking in the data editor
2019-10-08 15:17:16
2019-12-09 18:02:42
2019-10-01 09:19:40
2019-10-01 08:46:35
2019-10-01 14:43:02
2019-10-01 15:18:03
2019-10-07 08:03:57
2019-10-07 15:58:58
2019-10-08 08:30:31
2019-10-08 08:33:16
2019-10-08 09:13:11
2019-10-08 10:38:38
I have tried in a various of ways to make one varyable string or the other double, but cannot get it right.
Any help is highly appreciated,
Thanks!
Related Posts with Help with appending files with same variable in two formats (tostring/destring)
Identifying 'nearest neighbours' without using teffectsHi, I have data for almost 7,000 organisations. I want to use say, 6 variables, to identify the 60…
Rare event models with panel dataDear Statalist users, I am analysing the probability of doctors to accept a clinical job offer usi…
Sobel test or bootstrapping for testing mediationDear everyone, I am testing a mediating model and after running my multiple fixed effects regressio…
create analytical/inverse variance weights for a variableDear all, I create a new topic here since my last topic is a bit unclear. I know how to tabulate t…
PPML Country Pair Fixed EffectsHi All, I am trying to run a bilateral trade gravity model using PPML and trying to control for cou…
Subscribe to:
Post Comments (Atom)
0 Response to Help with appending files with same variable in two formats (tostring/destring)
Post a Comment