Update tidytuesday_for_python.py
Browse files
tidytuesday_for_python.py
CHANGED
@@ -121,6 +121,8 @@ class TidyTuesdayPython(datasets.GeneratorBasedBuilder):
|
|
121 |
|
122 |
for record in tidytuesday_json:
|
123 |
id_ = record['date_posted']
|
|
|
|
|
124 |
yield id_, {
|
125 |
"project_name": record["project_name"],
|
126 |
"project_source": record["project_source"],
|
@@ -129,3 +131,4 @@ class TidyTuesdayPython(datasets.GeneratorBasedBuilder):
|
|
129 |
"data_dictionary": record["data_dictionary"],
|
130 |
"data": record["data"],
|
131 |
}
|
|
|
|
121 |
|
122 |
for record in tidytuesday_json:
|
123 |
id_ = record['date_posted']
|
124 |
+
yield id_, record
|
125 |
+
'''
|
126 |
yield id_, {
|
127 |
"project_name": record["project_name"],
|
128 |
"project_source": record["project_source"],
|
|
|
131 |
"data_dictionary": record["data_dictionary"],
|
132 |
"data": record["data"],
|
133 |
}
|
134 |
+
'''
|