Changes need to data array

Selesai Dipasang Jul 10, 2010 Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

I have a 25 mB file with 4 fields (see below) and 900,000 records. At the moment it's a tab-delimited .DAT file. I need to eliminate most of the records and to reduce the file to three fields instead of four, following some simple rules:

STEP 1 - Eliminate unnecessary records

1) If Field 3 or Field 4 is blank, delete the record and look at the next record.

2) If Field 3 or Field 4 contains any alphabet letters (A-Z), delete the record and look at the next record.

3) If the value in Field 2 of the current record matches the value in Field 2 of the previous record, delete the current record (but not the previous record), then look at the next record.

4) Repeat steps 1-3 until all of the records have been examined.

STEP 2 - Combine Fields 1 & 2

1) For all remaining records, combine Fields 1 and 2 into one Field, so if Field 1 contains "US" and Field 2 contains "92084" the new combined field should be: "US92084"

--------------------

Here are the Fields in the original .dat file:

CountryCode MailCode Longitude Latitude

US 30183 34.3217 -84.562

US 30127 33.9135

US 31535 31.5046 -82.8246

The compressed file should look like this:

CCMailCode Longitude Latitude

US30183 34.3217 -84.562

US31535 31.5046 -82.8246

Also, I'd like to keep a copy of the program (so maybe it should be an .EXE file), because I might need to run it again in a year or so on a similar array. The program can be written in any language, I suppose. If it's in PHP, that would a bonus, so I can edit it. Thanks!

Pemrograman C++ PHP Visual Basic

ID Proyek: #735278

Tentang proyek

33 proposal Proyek online Aktif Jul 11, 2010

Diberikan kepada:

oceeman

Good day! Software already made. Please check PMB.

$30 USD dalam 0 hari
(2 Ulasan)
2.2

33 freelancer rata-rata menawar $49 untuk pekerjaan ini

kazaa

Hello I can provide a solution written in php. Please contact me if you have any questions.

$30 USD dalam 2 hari
(31 Ulasan)
6.3
WinstonCrawford

Kindly check the PM

$60 USD dalam 1 hari
(27 Ulasan)
5.9
jamalazza

hi please check your pm

$30 USD dalam 1 hari
(36 Ulasan)
6.1
wincent

Quick work. ready to start.

$30 USD dalam 0 hari
(80 Ulasan)
6.0
pegla

Hi, check pmb

$75 USD dalam 1 hari
(27 Ulasan)
5.4
kamosion

It's veryu simple task for me. I can make less than 1 hour. Can start immediatelly.

$50 USD dalam 0 hari
(12 Ulasan)
5.4
vserv

Can do this easily. Ready to start. Thanks

$30 USD dalam 1 hari
(34 Ulasan)
5.1
Ahmedn1

Please Check PM

$30 USD dalam 1 hari
(8 Ulasan)
4.4
Manuilov

hello, please, check pmb

$49 USD dalam 0 hari
(10 Ulasan)
4.4
genti157

It can be done.

$40 USD dalam 0 hari
(12 Ulasan)
3.8
Blackgato

Please see inbox.

$30 USD dalam 1 hari
(4 Ulasan)
3.8
rizwanfpak

Hi, I am ready to start this project. Please check your inbox for more details. Thanks

$70 USD dalam 3 hari
(4 Ulasan)
3.3
easyonthemayo

Hello, I can do this for you reliably and repeatably for any file size.

$50 USD dalam 0 hari
(2 Ulasan)
3.4
adicosoi

Can be ready really fast. In php if you need it that way.

$30 USD dalam 0 hari
(3 Ulasan)
2.8
look4Work

sir plz check pm !

$30 USD dalam 0 hari
(7 Ulasan)
2.7
PavPS

As result you will get output file and source. See PM. Thx

$30 USD dalam 2 hari
(1 Ulasan)
2.8
leiradel

Pure C application (will deliver both the executable and source code) or Lua (which you can edit and run without recompiling.) Fully commented source code in both cases. No GUI, command line only. Delivery in two hours Lebih banyak

$100 USD dalam 1 hari
(1 Ulasan)
2.0
phpClassA

I'm good with file handling and PHP coding in general. Let me make it done.

$50 USD dalam 1 hari
(1 Ulasan)
1.0
barath0811

Hi i can do that in PHP. Thanks

$100 USD dalam 5 hari
(0 Ulasan)
0.0
sunivdeveloper

I will make VB application for your job.

$90 USD dalam 2 hari
(0 Ulasan)
0.0