Questions tagged [dta]
37 questions
0
votes
2 answers
Error in write_dta : A provided string value was longer than the available storage size of the specified column
I am trying to export my data table from R Studio to the dta format. I use write_dta function from haven library in R and get the following error:
A provided string value was longer than the available storage size of the specified column.
I am…

Anya Pilipentseva
- 117
- 10
0
votes
1 answer
Uploading .dta and do files on wordpress
I am currently building a website for sharing statistical files. I am using wordpress CMS to build it. However, when I try to upload files with extension .dta and do files, it raises this error:
cr-ethdat1997-version3.do: Sorry, this file type is…
0
votes
1 answer
Using for loop to write data frame as dta file in R
I have data frames in a list a and I want to use a loop to save these as both rda and write as dta. I don't get why I get the error message that object data frame cannot be found:
for (f in a) {
for (name in 1:length(filenames)) {
…

halo09876
- 2,725
- 12
- 51
- 71
0
votes
1 answer
Export Fit Statistics and variance/covariance matrix to dta dataset
I'd like to export fit statistics (log likelihood, AIC, BIC) to a table in dta format. I can display fit statistics after fitting the model (created using strsmix) easily enough using estimates stats, or estat ic, but I can't seem to find a way to…

jrdnmdhl
- 1,935
- 18
- 26
0
votes
0 answers
How to merge a bunch of Stata datasets in R?
I realise that there are already a bunch of topics out there on merging datasets, but I just started using R and I have difficulty understanding some of the answers given, especially when I try to apply them to my own specific situation.
I have…

Oscar
- 41
- 2
- 9
0
votes
1 answer
python xlrd errors related to file extension changes
I am trying to organize a very large number of .DTA files using the xlrd library.
The first thing I found out was that .DTA files could be exported to excel files just by changing the extension .xls and opening them in excel. It gives a warning when…

Ahmed
- 184
- 1
- 2
- 14
0
votes
4 answers
Fetching data from database using PHP
I have tried to fetch data from priority table of elective_mgmt database.The source code is given below :

Shiva Bhusal
- 57
- 10