Skip to content

Commit 167f899

Browse files
committed
Host golf.dat file ourselves
1 parent ad35b9e commit 167f899

File tree

4 files changed

+24
-22
lines changed

4 files changed

+24
-22
lines changed

Manifest.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
julia_version = "1.11.3"
44
manifest_format = "2.0"
5-
project_hash = "16b1d007f281b947709b24063dec56b6638fa9b1"
5+
project_hash = "547d92b7c2cee83d66812c3662de0a43b46d819f"
66

77
[[deps.ADTypes]]
88
git-tree-sha1 = "e1ce448a0d7f88168ffe2eeac4549c32d45a42d1"
@@ -640,12 +640,6 @@ git-tree-sha1 = "abe83f3a2f1b857aac70ef8b269080af17764bbe"
640640
uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"
641641
version = "1.16.0"
642642

643-
[[deps.DataDeps]]
644-
deps = ["HTTP", "Libdl", "Reexport", "SHA", "Scratch", "p7zip_jll"]
645-
git-tree-sha1 = "8ae085b71c462c2cb1cfedcb10c3c877ec6cf03f"
646-
uuid = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
647-
version = "0.7.13"
648-
649643
[[deps.DataFrames]]
650644
deps = ["Compat", "DataAPI", "DataStructures", "Future", "InlineStrings", "InvertedIndices", "IteratorInterfaceExtensions", "LinearAlgebra", "Markdown", "Missings", "PooledArrays", "PrecompileTools", "PrettyTables", "Printf", "Random", "Reexport", "SentinelArrays", "SortingAlgorithms", "Statistics", "TableTraits", "Tables", "Unicode"]
651645
git-tree-sha1 = "fb61b4812c49343d7ef0b533ba982c46021938a6"

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ AdvancedMH = "5b7e9947-ddc0-4b3f-9b55-0d8042f74170"
77
Bijectors = "76274a88-744f-5084-9051-94815aaf08c4"
88
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
99
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
10-
DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
1110
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
1211
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
1312
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
distance n y
2+
2 1443 1346
3+
3 694 577
4+
4 455 337
5+
5 353 208
6+
6 272 149
7+
7 256 136
8+
8 240 111
9+
9 217 69
10+
10 200 67
11+
11 237 75
12+
12 202 52
13+
13 192 46
14+
14 174 54
15+
15 167 28
16+
16 201 27
17+
17 195 31
18+
18 191 33
19+
19 147 20
20+
20 152 24

tutorials/gaussian-processes-introduction/index.qmd

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,9 @@ given distance.
3030
### Let's download the data and take a look at it:
3131

3232
```{julia}
33-
using CSV, DataDeps, DataFrames
34-
35-
ENV["DATADEPS_ALWAYS_ACCEPT"] = true
36-
register(
37-
DataDep(
38-
"putting",
39-
"Putting data from BDA",
40-
"http://www.stat.columbia.edu/~gelman/book/data/golf.dat",
41-
"fc28d83896af7094d765789714524d5a389532279b64902866574079c1a977cc",
42-
),
43-
)
44-
45-
fname = joinpath(datadep"putting", "golf.dat")
46-
df = CSV.read(fname, DataFrame; delim=' ', ignorerepeated=true)
33+
using CSV, DataFrames
34+
35+
df = CSV.read("golf.dat", DataFrame; delim=' ', ignorerepeated=true)
4736
df[1:5, :]
4837
```
4938

0 commit comments

Comments
 (0)