Smarter automatic deduplication

Abierto
#31 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
data

Línea de trabajo

This is a design decision, not a ready edit. Start by reading the automatic deduplication work referenced in #25 and how DP+ handles duplicates before the resource is pushed to the Datastore. The issue offers three options (stop the job with an error, replace the resource file with the deduplicated CSV, or use qsv dedup --dupes-output to push _dupes and _dedupped resources), and no option is chosen. Done means a maintainer agrees on one approach first, then it is implemented.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Automatic deduplication works well (#25), however, when duplicates are found and removed, the datastore table and the resource file are no longer in sync.

Smarter dedup can be handled three ways. When dupes are found:

  1. Stop the DP+ job and show the dupe error in the Datastore tab.
  2. Replace the resource file with the dedupped CSV.
  3. Take advantage of qsv dedup's --dupes-output option and create two new resources - RESOURCENAME_dupes.csv and RESOURCENAME_dedupped.csv which are pushed to the Datastore. The original resource with dupes is NOT pushed. The Data Publisher can then just use the CKAN interface to manage which resource to keep (e.g. delete the original and the _dupes resources; rename the _dedupped resource, removing the _dedupped suffix.)
Lenguaje dominante
Python
Estrellas
47
Forks
33
Merge medio
2 h 28 min
PR fusionados (30 d)
10

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de dathere/datapusher-plus

Todos los issues de dathere/datapusher-plus

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.