Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8063691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:07:33+00:00 2026-06-05T11:07:33+00:00

I am helping a non-profit organization organize their existing data into a database. The

  • 0

I am helping a non-profit organization organize their existing data into a database. The data includes about 200 records. They have been using a simple word document. I am starting the work of structuring the raw data so I can enter it in the database. I copied the data into Textpad and it did so nicely. That said the data is structured but is not a perfect match. For example some organizations have a website, some don’t etc. Here is a sample of some information indicative of the remaining data:

I have an ERD created, it has gone through a number of revisions and was given the green light by my mentor. At this point I am at the ETL(Extract, transform, load) Process

  1. Clean up the remaining partially structured but messy data.
  2. Put it into an Excel readable doc type, and be arranged into the applicable tables
  3. Create a data input SQL script.
  4. Run the script.

I have done this already with some of the other data and it worked perfectly.

The cleaning up and putting it into Excel (CSV or Tab Delimited) is where I need the guidance. Or is it better to convert it to XML? If I manually go through the text file to ensure all the headers(for lack of a better word) match like this:

Is there a way to transfer it?

I have researched this, and I was surprised I could not find any good information. [Updated] I just found the actual term, ETL Process. If I have to just start retyping and/or cut and pasting just let me know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:07:35+00:00Added an answer on June 5, 2026 at 11:07 am

    Those two “records” are significantly different. For example some contacts have multiple phone numbers and others have only one. Additionally, the number of contacts may vary. It seems to lend itself to a relational database schema with multiple tables. However, you’re going to have a hard time automating the process of populating multiple relational tables based on the data layout. How much data are you dealing with? If it’s not an enormous amount, you may be better off doing this sort of half-manually, reformatting parts of your Textpad doc into INSERT statements (using lots of regular expression search and replaces), and taking some time running the queries.

    If it’s a truly large amount of data, then you might want to write a little program in the language of your choice to parse the file and create an output file containing the appropriate insert statements to populate all the data tables.

    For a robust relational database, you’d want a database schema that includes at a minimum, the following tables:

    Categories (map category names to IDs)
    Types (map Group Types to IDs)
    Organizations (including category and group type ID, name, addr, objs, activities, meetings, website, email, and an organization ID)
    Contacts (one to many referencing org ID, including contact name and a contact ID)
    Phone (one to many referencing contact ID, including phone type and phone number)
    

    You could get away without the Types and Categories tables, but they may prove useful depending on the volume of data and how they plan to query on it in the future (e.g. if at some point they will want to find all organizations in a particular category of a particular group type, and there are at least thousands of organizations, then the extra tables will prove worthwhile).

    Since the contact/phone information appears to be so flexible, you’re better off putting it into separate tables — otherwise you’d have to include columns in the main organization table for contactN/phoneN/phoneTypeN for the maximum number of possible contact/phones, and that would also create a limit on how many contact/phone associations could be made.

    You had also better make sure that none of the records require multiple entries for any of the other fields (MEETINGS, EMAIL, …). If that is a possibility, then you again need to make a choice of whether to add additional relational tables, or add multiple fields for the max possible to the organization table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am helping a friend with a website for her non-profit organization. The main
I was helping someone with their homework and ran into this strange issue. The
So, after reading a little about non-blocking code, does... response.write(thisWillTakeALongTime()); ...block the process? If
I've been thinking about my database indexes lately, in the past I just kind
I'm helping a client with their website (it's manually written using a Dreamweaver template
helping my friend with his old ASP site and ran into an issue so
Am helping someone to install WP on their current host, which unfortunately only has
I am working on inserting non-English characters in the database which is UTF-8 enabled.
I was helping out some colleagues of mine with an SQL problem. Mainly they
I'm helping someone diagnose some slowness with their RoR applications. I'm not that deep

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.