Skip to content

Commit 3c722fa

Browse files
authored
Merge pull request #124 from dh-tech/feature/cleanup-examples
Reorganize examples and update readme / contents #121
2 parents b0f56f7 + 6d36928 commit 3c722fa

File tree

8 files changed

+68
-68
lines changed

8 files changed

+68
-68
lines changed

examples/README.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# undate examples
22

3-
Example data and projects with use cases for uncertain date logic and
4-
example code notebooks using undate.
5-
6-
- [use cases](use-cases) - examples from projects or specific data with use cases for undate
7-
- [notebooks](notebooks) - code notebooks showing how undate can be used on a specific dataset or for a specific problem
3+
This folder contains code notebooks demonstrating how `undate` can be
4+
used on a specific dataset, problem, or format, as well as example
5+
data from projects with use cases for uncertain date logic.
6+
7+
## Contents
8+
9+
- [EDTF support](edtf-support.ipynb) - demonstrate and validate supported portions of the Extended Date Time Format (EDTF) specification (jupyter notebook)
10+
- [ISMI](ismi) - Sample data from the Islamic Scientific Manuscript Initiative project
11+
- [Shakespeare and Company Project](shakespeare-and-company-project) - data, description of partial date implementation, and example notebook
12+
- Events data from version 1.2 of Shakespeare and Company Project datasets
13+
- [Partial date duration logic](shakespeare-and-company-project/shxco_partial_date_durations.ipynb) - compare `undate` partial date range duration logic with a previous implementation in the _Shakespeare and Company Project_ (jupyter notebook)

examples/notebooks/edtf-support.ipynb renamed to examples/edtf-support.ipynb

+12-12
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
{
5757
"cell_type": "code",
58-
"execution_count": 2,
58+
"execution_count": 1,
5959
"id": "9c6b7379-b2a7-4ec1-afa5-2cd9832c8a5d",
6060
"metadata": {},
6161
"outputs": [],
@@ -92,7 +92,7 @@
9292
},
9393
{
9494
"cell_type": "code",
95-
"execution_count": 3,
95+
"execution_count": 2,
9696
"id": "923476ff-344a-4018-a02e-6e5f80ea76a8",
9797
"metadata": {},
9898
"outputs": [],
@@ -159,7 +159,7 @@
159159
},
160160
{
161161
"cell_type": "code",
162-
"execution_count": 4,
162+
"execution_count": 3,
163163
"id": "6ed422de-34a2-4324-b254-f62db00563f7",
164164
"metadata": {},
165165
"outputs": [],
@@ -212,7 +212,7 @@
212212
},
213213
{
214214
"cell_type": "code",
215-
"execution_count": 5,
215+
"execution_count": 4,
216216
"id": "8d98a139-627b-40bd-b1c5-d0028e538a53",
217217
"metadata": {},
218218
"outputs": [],
@@ -255,7 +255,7 @@
255255
},
256256
{
257257
"cell_type": "code",
258-
"execution_count": 6,
258+
"execution_count": 5,
259259
"id": "532470db-851e-4f91-9242-cd93d35054cf",
260260
"metadata": {},
261261
"outputs": [],
@@ -320,7 +320,7 @@
320320
},
321321
{
322322
"cell_type": "code",
323-
"execution_count": 7,
323+
"execution_count": 6,
324324
"id": "a5abd0e4-0b26-49b0-bf78-3e1fe6c046d8",
325325
"metadata": {},
326326
"outputs": [],
@@ -425,7 +425,7 @@
425425
},
426426
{
427427
"cell_type": "code",
428-
"execution_count": 8,
428+
"execution_count": 7,
429429
"id": "e47f3fff-d35c-4c2e-9568-214763f6511a",
430430
"metadata": {},
431431
"outputs": [],
@@ -481,7 +481,7 @@
481481
},
482482
{
483483
"cell_type": "code",
484-
"execution_count": 9,
484+
"execution_count": 8,
485485
"id": "39143c1f-932a-450c-9b2d-ffbe3e1416b0",
486486
"metadata": {},
487487
"outputs": [],
@@ -535,7 +535,7 @@
535535
},
536536
{
537537
"cell_type": "code",
538-
"execution_count": 10,
538+
"execution_count": 9,
539539
"id": "95965f17-0bd5-446f-bc09-9503eaed68e2",
540540
"metadata": {},
541541
"outputs": [],
@@ -589,7 +589,7 @@
589589
},
590590
{
591591
"cell_type": "code",
592-
"execution_count": 11,
592+
"execution_count": 10,
593593
"id": "c6c2d1a1-39f1-45eb-ac08-1de4fadbe842",
594594
"metadata": {},
595595
"outputs": [],
@@ -640,7 +640,7 @@
640640
},
641641
{
642642
"cell_type": "code",
643-
"execution_count": 12,
643+
"execution_count": 11,
644644
"id": "f24fd31a-176a-40b5-bff4-d72b68f32a18",
645645
"metadata": {},
646646
"outputs": [],
@@ -688,7 +688,7 @@
688688
},
689689
{
690690
"cell_type": "code",
691-
"execution_count": 13,
691+
"execution_count": 12,
692692
"id": "5910caab-eada-4715-b863-9bbbb15b9c5c",
693693
"metadata": {},
694694
"outputs": [],
File renamed without changes.

examples/notebooks/README.md

-6
This file was deleted.

0 commit comments

Comments
 (0)