Skip to content

Commit cc1db95

Browse files
committed
data description added
1 parent f84ed80 commit cc1db95

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

build/lib/data_setup/test_data_setup.py

+14
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,17 @@ def __init__(self):
2424
{"id":2,"email":"[email protected]","creation_date":"09-10-2021 02:31:37","last_activity_date":"01-11-2022 20:39:01","firstname":"Gregory","lastname":"Crane","address":"068 Shawn Port - West Jessica, KS 84864","city":"South Tonya","last_ip":"192.220.63.96","postcode":"88033"}
2525
{"email":"[email protected]","creation_date":"05-28-2022 09:54:50","last_activity_date":"12-18-2021 21:48:48","firstname":"Jeremy","lastname":"Knight","address":"06183 Acevedo Bypass - Petermouth, ME 34177","city":"West Brianburgh","last_ip":"53.240.159.208","postcode":"73380"}
2626
{"id":"invalid ID","email":"[email protected]","creation_date":"12-20-2021 19:57:28","last_activity_date":"07-27-2021 09:39:28","firstname":"Angela","lastname":"Adams","address":"098 Daniel Ferry Suite 565 - South Andrea, ND 36326","city":"New Mariafort","last_ip":"7.176.250.65","postcode":"21300"}"""
27+
28+
def get_data_description():
29+
return """There are two datasets in this repository:
30+
1. spend_csv
31+
column-names: id,age,annual_income,spending_core
32+
3 \"standard\" spends
33+
1 spend with null age
34+
1 spend with null ID
35+
1 spend with incompatible schema (ID as string)
36+
2. users_json
37+
column-names: id,email,creation_date,lasat_activity_date,firstname,lastname,address,city,last_ip,postcode
38+
4 \"standard\" users
39+
1 user with Null ID
40+
1 user with an ID as a string"""

data_setup/test_data_setup.py

+14
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,17 @@ def __init__(self):
2424
{"id":2,"email":"[email protected]","creation_date":"09-10-2021 02:31:37","last_activity_date":"01-11-2022 20:39:01","firstname":"Gregory","lastname":"Crane","address":"068 Shawn Port - West Jessica, KS 84864","city":"South Tonya","last_ip":"192.220.63.96","postcode":"88033"}
2525
{"email":"[email protected]","creation_date":"05-28-2022 09:54:50","last_activity_date":"12-18-2021 21:48:48","firstname":"Jeremy","lastname":"Knight","address":"06183 Acevedo Bypass - Petermouth, ME 34177","city":"West Brianburgh","last_ip":"53.240.159.208","postcode":"73380"}
2626
{"id":"invalid ID","email":"[email protected]","creation_date":"12-20-2021 19:57:28","last_activity_date":"07-27-2021 09:39:28","firstname":"Angela","lastname":"Adams","address":"098 Daniel Ferry Suite 565 - South Andrea, ND 36326","city":"New Mariafort","last_ip":"7.176.250.65","postcode":"21300"}"""
27+
28+
def get_data_description():
29+
return """There are two datasets in this repository:
30+
1. spend_csv
31+
column-names: id,age,annual_income,spending_core
32+
3 \"standard\" spends
33+
1 spend with null age
34+
1 spend with null ID
35+
1 spend with incompatible schema (ID as string)
36+
2. users_json
37+
column-names: id,email,creation_date,lasat_activity_date,firstname,lastname,address,city,last_ip,postcode
38+
4 \"standard\" users
39+
1 user with Null ID
40+
1 user with an ID as a string"""
149 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)