CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • How to create a duplicate-free csv file with data from CiviCRM and adt'l source
Pages: [1]

Author Topic: How to create a duplicate-free csv file with data from CiviCRM and adt'l source  (Read 1636 times)

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
How to create a duplicate-free csv file with data from CiviCRM and adt'l source
August 12, 2009, 08:30:52 am
Hi,
I am trying to figure out the best approach for merging/deduping data between CiviCRM and Raiser's Edge. My goal is to wind up with 1 csv file that contains no duplicates and only those records that meet the criteria for an upcoming postal mailing.

Here are the details:
-- I have a CiviCRM database that contains a group with the contacts that the office wants to mail to
-- I have 4 files that were exported from Raiser's Edge that will either add to or be removed from the CiviCRM mailing group:
      -- Organizations that are OK to mail to           (should be added to the CiviCRM mailing group)
      -- Organizations that are NOT OK to mail to    (should be removed from the CiviCRM mailing group)
      -- Individuals that are OK to mail to                 (should be added to the CiviCRM mailing group)
      -- Individuals that are NOT OK to mail to         (should be removed from the CiviCRM mailing group)

So the file that I want to (eventually) export from CiviCRM should contain:
[(The CiviCRM mailing group) PLUS (Raiser's Edge Organizations/Individuals that are OK to mail to) MINUS (any duplicates)]
MINUS (Raiser's Edge Organizations/Individuals that are NOT OK to mail to)

Does anyone have any suggestions on how I might best approach this? We will need to do this on a regular basis so I'd like to find a procedure that "flows" as best it can.

Thanks for any help,
Cynthia



Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to create a duplicate-free csv file with data from CiviCRM and adt'l source
August 12, 2009, 09:05:16 am

I suspect a custom civicrm task (custom code added with hooks to integrate with civicrm) or a drupal module that takes in all these CSV files as parameters will automate the process quite nicely and should be able to output a new CSV file

I'm not sure you can do this manually in an efficient manner

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • How to create a duplicate-free csv file with data from CiviCRM and adt'l source

This forum was archived on 2017-11-26.