I'm on a wild goose chase and I hope someone here can help me. Someone at my institution had an old database program on mac that I believe was called "Panorama". They exported a file from that as .txt quite a few years ago and recently tried to import it into the latest "PanoramaX" program I guess (I'm getting some of this secondhand) and weren't able to do it. Also, I'm a pc guy and would be totally lost on mac. So being the data nerd they turned to me to see if I could salvage their data. I tend to use R to import other file sources and every option I've tried here didn't work: (though I'm sure I missed an option maybe)
I can't share the file because it has personally identifying info, but a screenshot of what it looks like in notepad may help:
Does anyone have any experience with these files? Or can tell what the delimiters are etc... so I could open it?
Related
I am very new to programming and am working on the Google Data Analytics Certificate. I have looked everywhere for assistance to my issue and nothing has worked. (I have watched videos, searched stack overflow, queried kaggle, etc.)
I am working on the bellabeat capstone project and have been able to download the data files to my mac desktop.
My issue is that I am unable to import these data files into r, which I am running locally on my machine.
Based on the breadcrumb trail of where my files are located, I have been trying to run this code:
dailyActivity_merged <- read.csv(~"Macintosh HD/Users/.../googlecapstone_bellabeat_data/Fitabase_Data_20160412to20160512/dailyActivity_merged.csv")
I have received this error:
Error: bidi formatting not allowed (line 1), use escapes instead (\u2068)
Based on the "escapes" reference in the error statement, I have tried to change "/" to this "" and that hasn't worked.
Could someone please point me in the direction for a solution? If there are tutors available somewhere, I would be interested in hearing about that as well.
Thanks in advance for your attention.
RB
Not sure if you need to explicitly define the file location for your project, but I usually don't. I use the following code to import files
dailyActivity_merged = read.csv(file.choose(),header = TRUE)
do not include anything in the parenthesis. You want to copy this line of code exactly.
This isn't a major issue, but I still thought I would ask.
I've been cleaning some data for a project at work, and there's a point at the process where I save all of the individual files I've cleaned as a CSV in long format. I noticed that with some of the files that if I open them, some cells that SHOULD have data appear blank. If I use the "Clear All Formats" option, the data appears. It reads into R just fine and it hasn't caused any issues, but I still think it's weird.
Has anyone else run into this and if so, was there a way to resolve this without going through each column? The files I'm cleaning start out with all sorts of formatting, so I'm curious if that could be the cause. I thought that a CSV doesn't save formats though, so I'm a little confused.
Again, not the biggest deal but slightly annoying and I'll get questions about it if my colleagues ever take a look at these files.
The data is prorietary, and I'm not exactly sure how I would share it. but I'm using a pretty stragith forward write_csv(data,"path.csv")
I think I figured out the solution to this issue, and I wanted to share in case anyone else runs into this.
I'm using a Windows Computer, which needed an update. That got me thinking and I needed to update my version of RStudio. I'm not sure what would have caused this issue, but when I re-run those files, the issue appears to be resolved.
I would be grateful if someone can help me.
Is there a way to use russian to english translation. (word per word, not sentences)
I've heard and tried google translate API, however I need the program to work with large amounts of words and not be tied to Internet connection. Maybe, some standalone dictionary.
I've found this dictionary : http://sdict.com/en/view.php?file=rus_eng_full2.dct and tried to apply dictconv linux utility to convert to plaintext, so I can use it, but it crashes and compiling it from source doesn't work.
Maybe, someone knows a way to read .dct format and have an open source solution for it or link to it. I haven't found.
If there's a reliable Internet based solution, I would also like to hear about it.
Thank you, world, in advance.
If you are okay using python download sdictviewer-lib from here
https://github.com/jmhobbs/sdictviewer-lib
And use following script to read
import sdictviewer.formats.dct.sdict as sdict
import sdictviewer.dictutil
dictionary = sdict.SDictionary( 'rus-eng.dct' )
dictionary.load()
dictionary.get_word_list_iter('russianword')
I am a new bie to PhP , also i am new into the corporate world, I have been given an assignment by my seniors .Can please any one help me with the scripting of opening and reading an excel file in PHP. I have read a lot for it over google, but still nothing really is helping me.
Looking for positive replies.
I've used http://code.google.com/p/php-excel-reader/ before and would recommend it, it's quite simple and intuitive.
PHPExcel is what I would use. It is a bit of a pig but maybe they were just trying to conform to Microsoft standards. ;) I have had issues with extremely large tables of data. Aside from using the native tools you can also save file to excel xml. Much faster and works on anything excel 2003 and up (haven't tried on 2011 but should work.) As a last resort if you are parsing large amounts of data a standard csv is easy to do.
I have been given a set of COBOL DAT, IDX and KEY files and I need to read the data in them and export it into Access, XLS, CSV, etc. I do not know the version, vendor of the COBOL code as I only have the windows executable that created the files.
I have tried Easysoft and Parkway ODBC drivers but I have not been successful in reading the data from the files.
I do not have access to the source code as the company that was distributing this product shut down.
I have successfully read some of the dat files using http://www.cobolproducts.com/datafile just now which I came to know through another forum. Most probably I will work with them to help me read the rest of the files that I am having an issue with.
A few possibilities.
1/ See if you can find the names of the people that worked for the company. They may be helpful.
2/ Open the DAT file in a text editor. The data may be decodable from that. If the basic format can be discerned, quick'n'dirty code can be written to extract it.
3/ Open up the executable in an editor, there may be strings in there that indicate which compiler was used, then you can search for info on its file formats. If it's a DOS application, there's a good chance it was either Microsoft or Fujitsu COBOL.
4/ Consider placing job requests on work sites like elance or rentacoder; I don't think there's a cost if the work can't be done successfully.
5/ Hire someone to examine it and advise on the likelihood of recovery.
6/ Get a screen dump of the record contents for every active record and re-construct it from that.
Some of these are pretty hard so your mileage may vary.
Good luck.
I have read COBOL DAT files only with FD, when I do not have the FD, I open the file in a Text Editor, and try to guess the columns, and try again, until I have this working, the big problem with this approach is when the DAT file have COMP columns, that can be any kind of COMP type, but with a litthe patience I cold get this done.
I had tryed Parkway ODBC, but without success.
for anyone going through this journey, I found this in sourceforge: Cobol and RPG data reader and converter
http://sourceforge.net/projects/cobol2j/
Im about to try it, sounds kind of promising