zwn22 commited on
Commit
e37e279
1 Parent(s): 3a6eaf6

Update NC Crime Dateset.py

Browse files
Files changed (1) hide show
  1. NC Crime Dateset.py +15 -2
NC Crime Dateset.py CHANGED
@@ -39,9 +39,22 @@ _DESCRIPTION = """\
39
  The dataset, compiled from public police incident reports across various cities in North Carolina, covers a period from the early 2000s through to 2024. It is intended to facilitate the study of crime trends and patterns.
40
  """
41
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  class NCCrimeDataset(datasets.GeneratorBasedBuilder):
43
  """Dataset for North Carolina Crime Incidents."""
44
-
 
45
  VERSION = datasets.Version("1.0.0")
46
 
47
  def _info(self):
@@ -60,7 +73,7 @@ class NCCrimeDataset(datasets.GeneratorBasedBuilder):
60
  "incident_address": datasets.Value("string"),
61
  "notes": datasets.Value("string"),
62
  }),
63
- citation=_CITATION
64
  )
65
 
66
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
 
39
  The dataset, compiled from public police incident reports across various cities in North Carolina, covers a period from the early 2000s through to 2024. It is intended to facilitate the study of crime trends and patterns.
40
  """
41
 
42
+ # TODO: Add a link to an official homepage for the dataset here
43
+ _HOMEPAGE = ""
44
+
45
+ # TODO: Add the licence for the dataset here if you can find it
46
+ _LICENSE = ""
47
+
48
+ # TODO: Add link to the official dataset URLs here
49
+ # The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
50
+ # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
51
+ _URL = ""
52
+ _URLS = ""
53
+
54
  class NCCrimeDataset(datasets.GeneratorBasedBuilder):
55
  """Dataset for North Carolina Crime Incidents."""
56
+ _URLS = _URLS
57
+
58
  VERSION = datasets.Version("1.0.0")
59
 
60
  def _info(self):
 
73
  "incident_address": datasets.Value("string"),
74
  "notes": datasets.Value("string"),
75
  }),
76
+ citation=_CITATION,
77
  )
78
 
79
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]: