neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            
https://neo4j.com/labs/apoc
Apache License 2.0
1.7k stars 494 forks source link

add procedure to anonymize and clean data #694

Open jexp opened 6 years ago

jexp commented 6 years ago

Using faker to replace fields

call apoc.data.anonymize({Label:{field:type},*:{field:type}});

where type would be

The new content of the fields would come from the faker library.

jexp commented 5 years ago

@cskardon wants to work on this.

lqst commented 4 years ago

Maybe add functions that can "fake" data as well, i.e

set n.name = apoc.generate.fake('name').firstName

Not sure what the best function signature would be to wrap all fakers.

jexp commented 4 years ago

We should merge this into apoc: https://github.com/neo4j-contrib/neo4j-faker

@kvegter can you help with that?

then we have the infrastructure in place and can use it.

lqst commented 4 years ago

I totally missed https://github.com/neo4j-contrib/neo4j-faker @kvegter if you are up for it, let me know if I can help with testing, documenting or anything else.