Debian Codegraph @

debian/patches/remove-la-riots-related-code.patch

raw
1 Index: vega_datasets/vega_datasets/tests/test_local_datasets.py
2 ===================================================================
3 --- vega_datasets.orig/vega_datasets/tests/test_local_datasets.py
4 +++ vega_datasets/vega_datasets/tests/test_local_datasets.py
5 @@ -75,7 +75,6 @@ def test_cars_column_names():
6 [
7 ("cars", "Year"),
8 ("stocks", "date"),
9 - ("la-riots", "death_date"),
10 ("iowa-electricity", "year"),
11 ("seattle-weather", "date"),
12 ("seattle-temps", "date"),
13 Index: vega_datasets/vega_datasets/core.py
14 ===================================================================
15 --- vega_datasets.orig/vega_datasets/core.py
16 +++ vega_datasets/vega_datasets/core.py
17 @@ -322,11 +322,6 @@ class IowaElectricity(Dataset):
18 _pd_read_kwds = {"parse_dates": ["year"]}
19
20
21 -class LARiots(Dataset):
22 - name = "la-riots"
23 - _pd_read_kwds = {"parse_dates": ["death_date"]}
24 -
25 -
26 class Miserables(Dataset):
27 name = "miserables"
28 _return_type = tuple
29 Index: vega_datasets/vega_datasets/datasets.json
30 ===================================================================
31 --- vega_datasets.orig/vega_datasets/datasets.json
32 +++ vega_datasets/vega_datasets/datasets.json
33 @@ -143,10 +143,6 @@
34 "filename": "jobs.json",
35 "format": "json"
36 },
37 - "la-riots": {
38 - "filename": "la-riots.csv",
39 - "format": "csv"
40 - },
41 "londonBoroughs": {
42 "filename": "londonBoroughs.json",
43 "format": "json"
44 @@ -279,4 +275,4 @@
45 "filename": "zipcodes.csv",
46 "format": "csv"
47 }
48 -}
49 \ No newline at end of file
50 +}
51 Index: vega_datasets/vega_datasets/local_datasets.json
52 ===================================================================
53 --- vega_datasets.orig/vega_datasets/local_datasets.json
54 +++ vega_datasets/vega_datasets/local_datasets.json
55 @@ -8,7 +8,6 @@
56 "driving": "_data/driving.json",
57 "iowa-electricity": "_data/iowa-electricity.csv",
58 "iris": "_data/iris.json",
59 - "la-riots": "_data/la-riots.csv",
60 "ohlc": "_data/ohlc.json",
61 "seattle-temps": "_data/seattle-temps.csv",
62 "seattle-weather": "_data/seattle-weather.csv",
63 @@ -16,4 +15,4 @@
64 "stocks": "_data/stocks.csv",
65 "us-employment": "_data/us-employment.csv",
66 "wheat": "_data/wheat.json"
67 -}
68 \ No newline at end of file
69 +}
70 Index: vega_datasets/vega_datasets/dataset_info.json
71 ===================================================================
72 --- vega_datasets.orig/vega_datasets/dataset_info.json
73 +++ vega_datasets/vega_datasets/dataset_info.json
74 @@ -49,12 +49,6 @@
75 "R. A. Fisher (1936). 'The use of multiple measurements in taxonomic problems'. Annals of Eugenics. 7 (2): 179-188."
76 ]
77 },
78 - "la-riots" : {
79 - "description" : "More than 60 people lost their lives amid the looting and fires that ravaged Los Angeles for five days starting on April 29, 1992. This dataset contains metadata about each person, including the geographic coordinates of their death. It was compiled and published by the Los Angeles Times Data Desk [1]_.",
80 - "references" : [
81 - "http://spreadsheets.latimes.com/la-riots-deaths/"
82 - ]
83 - },
84 "ohlc" : {
85 "description" : "This dataset contains the performance of the Chicago Board Options Exchange `Volatility Index <https://en.wikipedia.org/wiki/VIX>`_ in the summer of 2009."
86 },