Python
pip install oissyntheticdata
- Version 3.0.0 on PyPI, released 12 November 2026
- Python 3.8 or later, standard library only
- MIT licence
OIS Research Services
oissyntheticdata 3.0.0: an open-source tool, in Python and in R, for government offices and the researchers who work with them
scroll, or press ↓
An example: a ministry keeps its service requests in a folder of Excel and CSV files, with ID numbers, names and addresses. The question is simple: how many days does it take to close a request, in each district?
Not possible. They hold personal data.
Nobody can write code that runs without knowing the column names, what the columns hold and how the tables link to each other.
oissyntheticdata 3.0.0Inside the office, one script that needs only the Python standard library reads the files and writes a small description, as JSON files: column names, types, distributions and the links between tables. It contains no row of the data.
A row in the file, inside the office
The same columns, in the description that leaves
oissyntheticdata 3.0.0Run one file in the data folder. It writes an aggregate description of the files.
Only the to_send folder goes out, by ordinary e-mail. It contains no row of the data.
The same structure, and every value invented. You write your analysis script on these files.
The script does not change; only now are the numbers findings.
oissyntheticdata 3.0.0Copy gov_one.py into the data folder and run:
python gov_one.py
The tool reads every Excel and CSV file, works out how the tables link to each other, and writes a folder called to_send. Only that folder goes out, by ordinary e-mail.
What is in the to_send folder
profile_<table>.jsonschema.jsonprofile_summary.md
oissyntheticdata 3.0.0The same tool, the same command, next to the to_send folder:
python gov_one.py
The same file names, sheets, headers and row counts, the same links between tables, and similar distributions. Every value is invented.
Write your analysis in the script template and run:
python analysis_template.py .
The built-in toolbox: statistical tests, regression, interrupted time series, and an HTML report that opens offline.
oissyntheticdata 3.0.0Bring the tool and your script, put them next to the real files, and run. The script does not change; only now are the numbers findings.
oissyntheticdata 3.0.0
oissyntheticdata 3.0.0
oissyntheticdata 3.0.0pip install oissyntheticdata
install.packages("remotes")
remotes::install_github("yohananouaknine/oissyntheticdata-r")
oissyntheticdata 3.0.0Who is behind the tool
Information scientist (PhD, Bar-Ilan University), formerly Head of the Research Branch of the Israel Prison Service. He lectures on research methods, is a research fellow at the Open University of Israel, and is the founder of OIS Research Services.