├── .gitignore ├── LICENSE.md ├── README.md ├── data └── merchants.csv ├── datagen.py ├── datagen_customer.py ├── datagen_transaction.py ├── demographic_data ├── age_gender_demographics.csv ├── datagen_customer.py ├── locations_partitions.csv └── merchants.csv ├── demographics.csv ├── main_config.py ├── profile_weights.py ├── profiles ├── adults_2550_female_rural.json ├── adults_2550_female_urban.json ├── adults_2550_male_rural.json ├── adults_2550_male_urban.json ├── adults_50up_female_rural.json ├── adults_50up_female_urban.json ├── adults_50up_male_rural.json ├── adults_50up_male_urban.json ├── fraud_adults_2550_female_rural.json ├── fraud_adults_2550_female_urban.json ├── fraud_adults_2550_male_rural.json ├── fraud_adults_2550_male_urban.json ├── fraud_adults_50up_female_rural.json ├── fraud_adults_50up_female_urban.json ├── fraud_adults_50up_male_rural.json ├── fraud_adults_50up_male_urban.json ├── fraud_leftovers.json ├── fraud_young_adults_female_rural.json ├── fraud_young_adults_female_urban.json ├── fraud_young_adults_male_rural.json ├── fraud_young_adults_male_urban.json ├── leftovers.json ├── main_config.json ├── template.json ├── test.py ├── young_adults_female_rural.json ├── young_adults_female_urban.json ├── young_adults_male_rural.json └── young_adults_male_urban.json ├── requirements.txt ├── requirements_test.txt ├── static_merchant_generator.py ├── tests.py └── tests └── data ├── adults_2550_female_rural.csv ├── adults_2550_female_rural.json ├── adults_2550_female_rural_fraud.csv ├── adults_2550_female_urban.csv ├── adults_2550_female_urban.json ├── adults_2550_female_urban_fraud.csv ├── adults_2550_male_rural.csv ├── adults_2550_male_rural.json ├── adults_2550_male_rural_fraud.csv ├── adults_2550_male_urban.csv ├── adults_2550_male_urban.json ├── adults_2550_male_urban_fraud.csv ├── adults_50up_female_rural.csv ├── adults_50up_female_rural.json ├── adults_50up_female_rural_fraud.csv ├── adults_50up_female_urban.csv ├── adults_50up_female_urban.json ├── adults_50up_female_urban_fraud.csv ├── adults_50up_male_rural.csv ├── adults_50up_male_rural.json ├── adults_50up_male_rural_fraud.csv ├── adults_50up_male_urban.csv ├── adults_50up_male_urban.json ├── adults_50up_male_urban_fraud.csv ├── test_customers.csv ├── young_adults_female_rural.csv ├── young_adults_female_rural.json ├── young_adults_female_rural_fraud.csv ├── young_adults_female_urban.csv ├── young_adults_female_urban.json ├── young_adults_female_urban_fraud.csv ├── young_adults_male_rural.csv ├── young_adults_male_rural.json ├── young_adults_male_rural_fraud.csv ├── young_adults_male_urban.csv ├── young_adults_male_urban.json └── young_adults_male_urban_fraud.csv /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/README.md -------------------------------------------------------------------------------- /data/merchants.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/data/merchants.csv -------------------------------------------------------------------------------- /datagen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/datagen.py -------------------------------------------------------------------------------- /datagen_customer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/datagen_customer.py -------------------------------------------------------------------------------- /datagen_transaction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/datagen_transaction.py -------------------------------------------------------------------------------- /demographic_data/age_gender_demographics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/demographic_data/age_gender_demographics.csv -------------------------------------------------------------------------------- /demographic_data/datagen_customer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/demographic_data/datagen_customer.py -------------------------------------------------------------------------------- /demographic_data/locations_partitions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/demographic_data/locations_partitions.csv -------------------------------------------------------------------------------- /demographic_data/merchants.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/demographic_data/merchants.csv -------------------------------------------------------------------------------- /demographics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/demographics.csv -------------------------------------------------------------------------------- /main_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/main_config.py -------------------------------------------------------------------------------- /profile_weights.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profile_weights.py -------------------------------------------------------------------------------- /profiles/adults_2550_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/adults_2550_female_rural.json -------------------------------------------------------------------------------- /profiles/adults_2550_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/adults_2550_female_urban.json -------------------------------------------------------------------------------- /profiles/adults_2550_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/adults_2550_male_rural.json -------------------------------------------------------------------------------- /profiles/adults_2550_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/adults_2550_male_urban.json -------------------------------------------------------------------------------- /profiles/adults_50up_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/adults_50up_female_rural.json -------------------------------------------------------------------------------- /profiles/adults_50up_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/adults_50up_female_urban.json -------------------------------------------------------------------------------- /profiles/adults_50up_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/adults_50up_male_rural.json -------------------------------------------------------------------------------- /profiles/adults_50up_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/adults_50up_male_urban.json -------------------------------------------------------------------------------- /profiles/fraud_adults_2550_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_adults_2550_female_rural.json -------------------------------------------------------------------------------- /profiles/fraud_adults_2550_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_adults_2550_female_urban.json -------------------------------------------------------------------------------- /profiles/fraud_adults_2550_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_adults_2550_male_rural.json -------------------------------------------------------------------------------- /profiles/fraud_adults_2550_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_adults_2550_male_urban.json -------------------------------------------------------------------------------- /profiles/fraud_adults_50up_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_adults_50up_female_rural.json -------------------------------------------------------------------------------- /profiles/fraud_adults_50up_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_adults_50up_female_urban.json -------------------------------------------------------------------------------- /profiles/fraud_adults_50up_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_adults_50up_male_rural.json -------------------------------------------------------------------------------- /profiles/fraud_adults_50up_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_adults_50up_male_urban.json -------------------------------------------------------------------------------- /profiles/fraud_leftovers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_leftovers.json -------------------------------------------------------------------------------- /profiles/fraud_young_adults_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_young_adults_female_rural.json -------------------------------------------------------------------------------- /profiles/fraud_young_adults_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_young_adults_female_urban.json -------------------------------------------------------------------------------- /profiles/fraud_young_adults_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_young_adults_male_rural.json -------------------------------------------------------------------------------- /profiles/fraud_young_adults_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/fraud_young_adults_male_urban.json -------------------------------------------------------------------------------- /profiles/leftovers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/leftovers.json -------------------------------------------------------------------------------- /profiles/main_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/main_config.json -------------------------------------------------------------------------------- /profiles/template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/template.json -------------------------------------------------------------------------------- /profiles/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/test.py -------------------------------------------------------------------------------- /profiles/young_adults_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/young_adults_female_rural.json -------------------------------------------------------------------------------- /profiles/young_adults_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/young_adults_female_urban.json -------------------------------------------------------------------------------- /profiles/young_adults_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/young_adults_male_rural.json -------------------------------------------------------------------------------- /profiles/young_adults_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/profiles/young_adults_male_urban.json -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Faker==13.12.0 2 | numpy==1.21.6 3 | -------------------------------------------------------------------------------- /requirements_test.txt: -------------------------------------------------------------------------------- 1 | pytest==7.1.2 2 | freezegun==1.2.1 -------------------------------------------------------------------------------- /static_merchant_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/static_merchant_generator.py -------------------------------------------------------------------------------- /tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests.py -------------------------------------------------------------------------------- /tests/data/adults_2550_female_rural.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_female_rural.csv -------------------------------------------------------------------------------- /tests/data/adults_2550_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_female_rural.json -------------------------------------------------------------------------------- /tests/data/adults_2550_female_rural_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_female_rural_fraud.csv -------------------------------------------------------------------------------- /tests/data/adults_2550_female_urban.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_female_urban.csv -------------------------------------------------------------------------------- /tests/data/adults_2550_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_female_urban.json -------------------------------------------------------------------------------- /tests/data/adults_2550_female_urban_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_female_urban_fraud.csv -------------------------------------------------------------------------------- /tests/data/adults_2550_male_rural.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_male_rural.csv -------------------------------------------------------------------------------- /tests/data/adults_2550_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_male_rural.json -------------------------------------------------------------------------------- /tests/data/adults_2550_male_rural_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_male_rural_fraud.csv -------------------------------------------------------------------------------- /tests/data/adults_2550_male_urban.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_male_urban.csv -------------------------------------------------------------------------------- /tests/data/adults_2550_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_male_urban.json -------------------------------------------------------------------------------- /tests/data/adults_2550_male_urban_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_2550_male_urban_fraud.csv -------------------------------------------------------------------------------- /tests/data/adults_50up_female_rural.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_female_rural.csv -------------------------------------------------------------------------------- /tests/data/adults_50up_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_female_rural.json -------------------------------------------------------------------------------- /tests/data/adults_50up_female_rural_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_female_rural_fraud.csv -------------------------------------------------------------------------------- /tests/data/adults_50up_female_urban.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_female_urban.csv -------------------------------------------------------------------------------- /tests/data/adults_50up_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_female_urban.json -------------------------------------------------------------------------------- /tests/data/adults_50up_female_urban_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_female_urban_fraud.csv -------------------------------------------------------------------------------- /tests/data/adults_50up_male_rural.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_male_rural.csv -------------------------------------------------------------------------------- /tests/data/adults_50up_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_male_rural.json -------------------------------------------------------------------------------- /tests/data/adults_50up_male_rural_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_male_rural_fraud.csv -------------------------------------------------------------------------------- /tests/data/adults_50up_male_urban.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/adults_50up_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_male_urban.json -------------------------------------------------------------------------------- /tests/data/adults_50up_male_urban_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/adults_50up_male_urban_fraud.csv -------------------------------------------------------------------------------- /tests/data/test_customers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/test_customers.csv -------------------------------------------------------------------------------- /tests/data/young_adults_female_rural.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_female_rural.csv -------------------------------------------------------------------------------- /tests/data/young_adults_female_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_female_rural.json -------------------------------------------------------------------------------- /tests/data/young_adults_female_rural_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_female_rural_fraud.csv -------------------------------------------------------------------------------- /tests/data/young_adults_female_urban.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_female_urban.csv -------------------------------------------------------------------------------- /tests/data/young_adults_female_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_female_urban.json -------------------------------------------------------------------------------- /tests/data/young_adults_female_urban_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_female_urban_fraud.csv -------------------------------------------------------------------------------- /tests/data/young_adults_male_rural.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_male_rural.csv -------------------------------------------------------------------------------- /tests/data/young_adults_male_rural.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_male_rural.json -------------------------------------------------------------------------------- /tests/data/young_adults_male_rural_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_male_rural_fraud.csv -------------------------------------------------------------------------------- /tests/data/young_adults_male_urban.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_male_urban.csv -------------------------------------------------------------------------------- /tests/data/young_adults_male_urban.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_male_urban.json -------------------------------------------------------------------------------- /tests/data/young_adults_male_urban_fraud.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/namebrandon/Sparkov_Data_Generation/HEAD/tests/data/young_adults_male_urban_fraud.csv --------------------------------------------------------------------------------