Find Jobs
Hire Freelancers

cDatabase Administration, Replace STATE-CITY w/ ZONE ID/CITY ID

$30-250 USD

Lukket
Slået op cirka 8 år siden

$30-250 USD

Betales ved levering
I need help understand how to perform this action. It can be done in MySQL, Python, PHP or EXCEL. I have the tables already in databases. The idea is I need to relate human readable City-State to a table that charts all us City-States and assigned them ID's, Then print the ID's next to the human readable columns in its own row. The goal of this is to prepare data for import from a old directory platform to a new. There are 50,000 businesses with human readable City, State Columns in the old data. I need to add in the right id's in order for the import to work and new directory to be able to use its geolocation features. Since there are multiple cities with the same name, City-State will have to be relative. At the bottom, you will find a diagram of how I think I maybe able to do this. I am a new programmer so any help would be great, I would be even willing to pay for assistance. I have attached more info below. Another important factor, is I will be manually replacing the STATE with its relevent ZONE ID, since there are only 50 states I can Find Replace based on the a seperate table mapping states to ZONE ID's. 1) This is the city table, This contains the names of all US Cities in a readable forum and States as a ID(There are only 50 states so I can manually map them in the next step). CITY-STATE CODEX TABLE SCREENSHOT [login to view URL] Column D "City Name" is the city name. City ID is what we ultimately will need in the end which is relative to the city name. Some town names are the same, so we must account for the column Zone ID which represents state to match the next list as well, that condition will have to be checked first then sort states inside that zone. 2) This should in theory have a match in the previous list. There are 50,000 businesses in this list. First I will manually Find/Replace the states with the correct Zone ID. Then it should look into the City ID's in that Zone. The following table "geolocation_city" must be compared to the last table, when a match is found, it should then print the city ID next to the matching city name. Keep in mind I DO NOT want to remove the old columns, just append them with NEW ID columns zone and city id. We will need the human readible format down the line to call information for our API. BUSINESS INFORMATION TABLE SCREENSHOT [login to view URL] In the end, the importer will only accept Zone ID(State) and City ID(City). This is so the database can sort locations and display different towns and states businesses. Our old database doesn't follow the ID procedure introduced in this wordpress directory, so we will need to cross compare to the global list of 34000 cities included with the directory script. We just have the city and state names in human readable format, so I was hoping I could use mysql to quickly find and append the information I need to complete the inport into this directories location system. I think there will likely need to be some PHP or Python logic here to get this done, which aisnt a issue. I just want to see how it could be done logic wise and what MySQL functions I would have my disposal. I made a programming logic diagram, not the best as it doesnt show yes or no but its understand. Remember, I can replace the zone ID's which are states manually as there are only 50 states. Replacing the 32,000 cities will prove to be a issue. Finally step will be inserting into new table as well, not overwriting existing data. PROGRAMMING LOGIC I CAN ONLY POST 2 LINKS, SO PLEASE USE BELOW [login to view URL]
Projekt-ID: 9609199

Om projektet

12 forslag
Projekt på afstand
Aktiv 8 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
12 freelancere byder i gennemsnit $244 USD på dette job
Brug Avatar.
Hello! With 98% to 99% completion rate, 900+ successfully completed projects, and a 4.99 reputation (maximum possible, 5.0) (can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I am available to get started on your project right away. I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$736 USD på 5 dage
4,9 (1074 anmeldelser)
8,9
8,9
Brug Avatar.
Hi there! I have read what you exactly need, however I would like to ask you a few questions. I would call myself a master of what I do, I do work smart and do not rest until I get the job done. Please feel free to ping me anytime so we can have a detailed discussion. If I can deliver I will deliver in best possible way. Thanks
$144 USD på 3 dage
4,9 (62 anmeldelser)
8,0
8,0
Brug Avatar.
A proposal has not yet been provided
$250 USD på 2 dage
4,9 (336 anmeldelser)
7,7
7,7
Brug Avatar.
From Human readable datas you need to get the city and state names and compare it with the database of city and state to get city id,state id and zone id and match it accordingly.
$277 USD på 2 dage
4,9 (387 anmeldelser)
7,9
7,9
Brug Avatar.
A proposal has not yet been provided
$411 USD på 5 dage
4,8 (85 anmeldelser)
6,2
6,2
Brug Avatar.
Experienced software professional with over 20 years in software development. Good in writing SQL queries. If you can provide the data in excel sheets / csv files / access to the database, I can do the matching for you
$138 USD på 3 dage
5,0 (1 bedømmelse)
0,8
0,8
Brug Avatar.
Hi, I can make it for You or show how it should be done using SQL. If You still looking for someone please contact me.
$222 USD på 3 dage
0,0 (0 anmeldelser)
4,2
4,2
Brug Avatar.
Hello, I had to do something similar at my previous employer and am confident I can get this done for you as well. Please let me know. Thanks, Kaleigh
$155 USD på 3 dage
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
I will provide final data in Excel or CSV format with business uniqueId, State/ Zone Id and cityId mapping . Columns included in the final Excel / CSV (Note: I can add additional fields if required based on the inputs available) Businessname, BusinessUniqueId, State, StateId / ZONEID (uniqueId), City, CityId (UniqueID) For this I need following Details: 1. Business detail master in Excel 2. State and city mapping data in Excel. 3. Excel Schema for new Table. I will need one weeks time to complete this activity.
$177 USD på 5 dage
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
Hi! I have years of experience with exactly this sort of task. In my previous job, I lead a team that was building a data bridge to extract, transform, and load up to millions of rows of messy, inconsistent data. Note that got 93% on the SQL test on this site. I guarantee I will do a quality job for you. You will get this at a low cost because it's hard to get started on this site as a newcomer. The one question I have for you is whether this is just a one-time data operation, or whether there needs to also be an ongoing solution for incoming data in the future also? If you have any questions for me, please let me know. Cheers, Dorlan
$85 USD på 5 dage
5,0 (1 bedømmelse)
0,0
0,0

Om klienten

Flag for UNITED STATES
OCEAN COUNTY, United States
5,0
1
Medlem siden jul. 2, 2008

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.