srehaag commited on
Commit
634297c
1 Parent(s): fe805f9

revised formats

Browse files
Files changed (2) hide show
  1. README.md +195 -0
  2. train.parquet +2 -2
README.md ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ language:
4
+ - en
5
+ - fr
6
+ size_categories:
7
+ - 100K<n<1M
8
+ ---
9
+ # Refugee Law Lab: Luck of the Draw III: Data
10
+
11
+ ## Dataset Summary
12
+
13
+ The [Refugee Law Lab](https://refugeelab.ca) supports bulk open-access to Canadian legal data to facilitate research and advocacy.
14
+ Bulk open-access helps avoid asymmetrical access-to-justice and amplification of marginalization that
15
+ results when commercial actors leverage proprietary
16
+ legal datasets for profit -- a particular concern in the border control setting.
17
+
18
+ This is the dataset used for a [research project](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4322881) published in the Queen's Law Journal, undertaken at the Refugee Law Lab about outcomes in stays of removal in Canada's
19
+ Federal Court. Specifically, it includes information from the online Federal Court dockets for all immigration law cases filed between
20
+ 1997 and 2022.
21
+
22
+ The dataset can be used for legal analytics (i.e. identifying patterns in legal
23
+ decision-making), to test ML and NLP tools on a bilingual dataset of Canadian legal materials, and to
24
+ pretrain language models for various tasks.
25
+
26
+
27
+ ## Dataset Structure
28
+
29
+ ### Data Instance
30
+
31
+ The datset includes a single data instance of all online Federal Court dockets involving immigration law filed between 1997 and 2022,
32
+ as they appeared when the data was gathered in November 2022.
33
+
34
+ ### Data Fields
35
+
36
+ Data fields match the formart used for the Refugee Law Lab's [Canadian Legal Data dataset](https://huggingface.co/datasets/refugee-law-lab/canadian-legal-data).
37
+
38
+ - citation (string): Legal citation for the document (neutral citation where available). In this dataset, the legal citaiton is the docket number, which is a identifer for the file assigned by the Federal Court. Docket numbers take the form IMM-#-YY. IMM signals that this is an immigration law docket, # is a sequential number starting at 1 that represents the order in which applications were received in a given year, and YY is the last two digits of the year in which the application was initially filed.
39
+
40
+ - year (int32): Year of the document date, which can be useful for filtering. For this dataset, the year is the year when the application was initially filed.
41
+
42
+ - name (string): Name of the document, in this dataset the style of cause of a cour file
43
+
44
+ - date_filed (string): Date of the document (yyyy-mm-dd). In this dataset the year is the date the application was filed.
45
+
46
+ - city_filed (string): City where the application was initially filed
47
+
48
+ - nature (string): A category of proceedings assigned by the Federal Court
49
+
50
+ - class (string): A second category of proceedings assigned by the Federal court
51
+
52
+ - track (string): A third category of proceedings assigned by the Federal Court
53
+
54
+ - documents (list of dictionaries):
55
+
56
+ * RE_NO: The number assigned to the docket entry by the Federal Court
57
+
58
+ * DOCNO: Where the entry involves the filing of a document, the number assigned to that document by the Federal Court
59
+
60
+ * DOC_DT: The date of the docket entry
61
+
62
+ * RECORDED_ENTRY: The content of the docket entry
63
+
64
+ - source_url (string): URL where the document was scraped and where the official version can be found
65
+
66
+ - scraped_timestamp (string): Date the document was scraped (yyyy-mm-dd)
67
+
68
+
69
+ ### Data Languages
70
+
71
+ Some dockets are in English, some in French, and some alternate between English and French
72
+
73
+ ### Data Splits
74
+
75
+ The data has not been split, so all data is in the train split.
76
+
77
+ ### Data Loading
78
+
79
+ To load the data:
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+ dataset = load_dataset("refugee-law-lab/luck-of-the-draw-iii", split="train")
84
+ ```
85
+
86
+ To convert to dataframe:
87
+
88
+ ```python
89
+ from datasets import load_dataset
90
+ dataset = load_dataset("refugee-law-lab/luck-of-the-draw-iii", split="train")
91
+ ```
92
+
93
+ ## Dataset Creation
94
+
95
+ ### Curation Rationale
96
+
97
+ The dataset includes all Federal Court immigration law dockets available on the Federal Court's website at the time of research (November 2022). The Refugee Law Lab gathered this data for several projects, including the [Refugee Law Lab Portal](https://rllp.ca/) and the research article on Federal Court stays linked above.
98
+
99
+ ### Source Data
100
+
101
+ #### Source
102
+
103
+ All data was gathered via the Federal Court's [website](https://www.fct-cf.gc.ca/en/home).
104
+
105
+ #### Initial Data Collection and Normalization
106
+
107
+ Details are available via links on the Refugee Law Lab's Github respository [Luck of the Draw III: Code & Data]
108
+ (https://github.com/Refugee-Law-Lab/luck-of-the-draw-iii).
109
+
110
+ ### Personal and Sensitive Information
111
+
112
+ Documents may include personal and sensitive information. All documents have been published online by the Federal Court. While the open court principle mandates
113
+ that court materials be made available to the public, there are privacy risks when these
114
+ materials become easily and widely available. These privacy risks are particularly acute for marginalized groups,
115
+ including refugees and other non-citizens whose personal and sensitive information is included in some of the
116
+ documents in this dataset. For example, imagine a repressive government working with private data aggregators to
117
+ collect information that is used to target families of political opponents who have sought asylum abroad.
118
+ One mechanism used to try to achieve a balance between the open court principle
119
+ and privacy is that in publishing the documents in this dataset, the relevant courts and tribunals prohibit
120
+ search engines from indexing the documents. Users of this data are required to do the same.
121
+
122
+ ### Non-Official Versions
123
+
124
+ Documents included in this dataset are unofficial copies. For official versions published by
125
+ the Government of Canada, please see the source URLs.
126
+
127
+ ### Non-Affiliation / Endorsement
128
+
129
+ The reproduction of documents in this dataset was not done in affiliation with, or with the endorsement of
130
+ the Federal Court or the Government of Canada.
131
+
132
+ ## Considerations for Using the Data
133
+
134
+ ### Social Impact of Dataset
135
+
136
+ The Refugee Law Lab recognizes that this dataset -- and further research using the dataset -- raises challenging
137
+ questions about how to balance protecting privacy, enhancing government transparency, addressing information
138
+ asymmetries, and building technologies that leverage data to advance the rights and interests of
139
+ refugees and other displaced people, as well as assisting those working with them (rather than technologies that
140
+ [enhance the power of states](https://citizenlab.ca/2018/09/bots-at-the-gate-human-rights-analysis-automated-decision-making-in-canadas-immigration-refugee-system/)
141
+ to control the movement of people across borders).
142
+
143
+ More broadly, the Refugee Law Lab also recognizes that considerations around privacy and data protection are complex
144
+ and evolving. When working on migration, refugee law, data, technology and surveillance, we strive to foreground
145
+ intersectional understandings of the systemic harms perpetuated against groups historically made marginalized. We
146
+ encourage other users to do the same.
147
+
148
+ We also encourage users to try to avoid participating in building technologies that harm refugees and other
149
+ marginalized groups, as well as to connect with [community organizations](https://www.migrationtechmonitor.com/ways-to-help)
150
+ working in this space, and to [listen directly](https://www.migrationtechmonitor.com/about-us) and learn from people who are affected by new technologies.
151
+
152
+ We will review the use these datasets periodically to examine whether continuing to publicly release these datasets achieves
153
+ the Refugee Law Lab's goals of advancing the rights and interests of refugees and other marginalized groups without creating
154
+ disproportionate risks and harms, including risks related to privacy and human rights.
155
+
156
+
157
+ ### Discussion of Biases
158
+
159
+ The dataset reflects many biases present in legal decision-making, including biases based on race, immigration status, gender, sexual orientation, religion, disability, socio-economic class, and other intersecting categories of discrimination.
160
+
161
+ ### Other Known Limitations
162
+
163
+ Due to the ways that all
164
+ legal datasets may be skewed, users of this dataset are encouraged to collaborate with or consult domain experts.
165
+
166
+ ## Additional Information
167
+
168
+
169
+ ### Licensing Information
170
+
171
+ Attribution-NonCommercial 4.0 International ([CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/))
172
+
173
+ NOTE: Users must also comply with [upstream licensing](https://www.fct-cf.gc.ca/en/pages/important-notices) for data obtained from the Federal Court, as
174
+ well as requests on source urls not to allow indexing of the documents by search engines to protect privacy. As a result, users must
175
+ not make the data available in formats or locations that can be indexed by search engines.
176
+
177
+ ### Warranties / Representations
178
+
179
+ We make no warranties or representations that the data included in this dataset is complete or accurate. Data
180
+ were obtained through academic research projects, including projects that use automated processes.
181
+ While we try to make the data as accurate as possible, our methodologies may result in
182
+ inaccurate or outdated data. As such, data should be viewed as preliminary information aimed to prompt
183
+ further research and discussion, rather than as definitive information.
184
+
185
+ ### Dataset Curators
186
+
187
+ [Sean Rehaag](https://www.osgoode.yorku.ca/faculty-and-staff/rehaag-sean), Osgoode Hall Law School Professor & Director of the Refugee Law Lab
188
+
189
+ ### Citation Information
190
+
191
+ Sean Rehaag, "Luck of the Draw III: Code & Data" (2023) online: Github: <https://github.com/Refugee-Law-Lab/luck-of-the-draw-iii>.
192
+
193
+ ### Acknowledgements
194
+
195
+ This project draws on research supported by the Social Sciences and Humanities Research Council, the Law Foundation of Ontario, and the Digital Research Alliance of Canada. Jacob Danovich assisted with the infrastructure and scraping code for this project.
train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ba0176f8d2971c472e3ce8e7476b7639499e292f14fefcd3edb7b8322a89506
3
- size 195472340
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1ad6362674838bef665649cb88e26a19b0473c99ae7fe77f950b9e0c0375030
3
+ size 195473294