Concaténation

Discussions about tools to complement CSPro data processing
Forum rules
New release: CSPro 8.0
Post Reply
dabwil
Posts: 21
Joined: January 7th, 2021, 11:33 am

Concaténation

Post by dabwil »

Bonjour
Le problème persiste toujours.
En fait j'ai 20 csdb et parmi c'est fichier cspro dit détecter un doublons qui réellement n'est pas le cas. Parce que tous les csdb on des identifiants différents
Qu'est ce qui se passe réellement ???
Comment gérer ce problème ??
Merci.
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Concaténation

Post by htuser »

Ajouter les fichier un(1) par un(1) et utilise l'outils de concatenation. Ainsi, tu pourras facilement voir le fichier csdb engendrant les concatenations.
Dans ce fichier, tu pourras utiliser la fonction sqlquery pour changer les ID's Items provocant la duplication.

Tu peux essayer aussi d'utiliser la fonction FileConcat (https://www.csprousers.org/help/CSPro/f ... ction.html) dans une application batch pour concatener. Ainsi tu pourras voir plus clairement le probleme de duplication.
Bien a vous!
G.VOLNY, a CSProuser from Haiti, since 2004
sherrell
Posts: 397
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Concaténation

Post by sherrell »

If the concatenate is detecting duplicate cases, it's generally because they are there. We haven't had any reports of this not working.

How have you defined your identifiers in the dictionary, and what are the case IDs of the cases being reported as duplicates?
dabwil
Posts: 21
Joined: January 7th, 2021, 11:33 am

Re: Concaténation

Post by dabwil »

Voici le resultat de la concatenation et voici ID DU premier CSDB: 010020401011515021502035
ID du deuxième CSDB: 060060201060505050505020



Number of files requested to concatenate: 2

C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\UFR_LSH (UDDG).csdb
C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\UFR_LSH (UK).csdb

Number of files concatenated: 2

Output file:
C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\TEST.csdb


Concatenation done with the following errors:

Skipping duplicate case 060060201060505050505020 in file C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\UFR_LSH (UK).csdb. Previously found in file C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\UFR_LSH (UDDG).csdb
sherrell
Posts: 397
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Concaténation

Post by sherrell »

Hello Dabil,

Could you send us the two files you're using that are having the problem, the dictionary describing them, and the program (if CSBatch) or pff (if invoking CSConcat) for how you're doing this? If you're ok posting the files here (zipped), that would be great, but if not, please send this to us at cspro@lists.census.gov.

Thanks,
Sherrell
dabwil
Posts: 21
Joined: January 7th, 2021, 11:33 am

Re: Concaténation

Post by dabwil »

Ok
Post Reply