Datafaker
Datafaker is a package for generating synthetic versions of relational and tabular datasets. It can work with relational databases as well as Parquet files through DuckDB integration.
If you are new to Datafaker, we recommend following the documentation in order: start with the Installation guide and learn the basic commands that Datafaker uses from the Command-Line Interface (CLI) Guide. Then, work through the Tutorials before exploring the example use cases and reference documentation.
Note
New features are regularly added. See the GitHub repository for the latest updates.
Contents:
Getting Started
- Overview
- Installation
- Using Docker
- Command-Line Interface (CLI) Guide
- Tutorial: Generate Synthetic Data from PostgreSQL
- Minimal example
- Making the minimal example work at all
- Problems with the minimal example
- Fixing the problems with the minimal example #1: ignoring unwanted tables
- Fixing the problems with the minimal example #2: generate vocabularies
- Fixing the problems with the minimal example #3: generate more plausible text
- Fixing the problems with the minimal example #4: Unnormalized databases
- Tutorial: Generate Synthetic Data from CSV and Parquet
Advanced