Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 30th, 2011, 08:53 PM
justsuper justsuper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 3 justsuper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 31 m 25 sec
Reputation Power: 0
Populate a CSV file

I'm a total noob with this and I hope I'm posting in the right section.
I need to create a CSV file to import. Lets say I'm doing a review website on Dry Cleaners or laundromats. The site building software has an option to import listings from a CSV file.

How would I go about getting all the businesses into the CSV file by name, address, phone number, etc?

I know it's prefered to use Excel and save as a .csv file, but do I have to look all this information up and enter it manually? Or are there scripts to do so?

Reply With Quote
  #2  
Old October 31st, 2011, 02:50 AM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 26,375 r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 1 Week 2 Days 7 h 30 m 16 sec
Reputation Power: 4140
Quote:
Originally Posted by justsuper
How would I go about getting all the businesses into the CSV file by name, address, phone number, etc?
depends

where is this data now?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book

Reply With Quote
  #3  
Old October 31st, 2011, 08:26 AM
justsuper justsuper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 3 justsuper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 31 m 25 sec
Reputation Power: 0
Quote:
where is this data now?

I can't think of anywhere you could find a complete or mostly complete listing for the entire United States for say, Dry Cleaners.
1st thing that comes to mind is someplace like Switchboard dot com and doing searches by city. However that would take forever. Even if I could get the data by searching in that manner I'm still not sure how to get it from switchboard into a CSV file.

Reply With Quote
  #4  
Old October 31st, 2011, 08:40 AM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 26,375 r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 1 Week 2 Days 7 h 30 m 16 sec
Reputation Power: 4140
if you don't have this data yet, i don't think you need to worry about csv files

let me guess, you're going to be looking for the email id in amongst the scraped data, right?

Reply With Quote
  #5  
Old October 31st, 2011, 11:01 AM
justsuper justsuper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 3 justsuper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 31 m 25 sec
Reputation Power: 0
Can't think of why I would need the businesses email code. I guess my line of thinking is when someone comes to the site to review the business I thought it would be convenient for them to be able to find the business they are looking to review.

I was looking at using Jreviews for Joomla to build the site and they offer a CSV import which I'm guessing is geared more towards reviewing products rather than services, or maybe both.
I didn't know if there was a way to get the business name, address, zip and phone # to populate the website so the reviewer can search for the business by city or zip code.

Now that I've looked into it more, I'm not looking for a malicious data scrapper. I just want to populate the website with businesses to review in this niche. If I can keep up with it I'm not even going to allow phony reviews if at all possible.

I'm guessing I'll have to enter each business in this niche manually. Boy that is going to be a huge project if so.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Populate a CSV file

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap