Skip to content

Commit df98027

Browse files
committed
Debug Julia env.
1 parent 77d1d2f commit df98027

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

blog.qmd

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ pkgs = c("geopandas", "shapely", "pandas", "rasterio", "matplotlib", "folium", "
3434
reticulate::py_install(pkgs)
3535
```
3636

37+
```{julia}
38+
using Pkg
39+
Pkg.status()
40+
Pkg.activate(".")
41+
Pkg.status()
42+
```
43+
3744
# Introduction
3845

3946
In this blog post, we talk about our experience teaching R and Python for geocomputation.
@@ -95,7 +102,7 @@ library(tmap)
95102

96103
## Julia
97104

98-
```julia
105+
```{julia}
99106
using GeoDataFrames
100107
```
101108

@@ -164,12 +171,12 @@ if (!dir.exists("data")) {
164171

165172
## Julia
166173

167-
```julia
174+
```{julia}
168175
using Downloads
169176
u = "https://github.com/Robinlovelace/opengeohub2023/releases/download/data/data.zip"
170177
f = basename(u)
171178
if !isfile(f)
172-
download(u, f)
179+
Downloads.download(u, f)
173180
end
174181
```
175182

@@ -221,7 +228,7 @@ pol_all
221228

222229
## Julia
223230

224-
```julia
231+
```{julia}
225232
df = GeoDataFrames.read("/vsizip/data.zip/data/osm/gis_osm_transport_a_free_1.shp")
226233
df
227234
```

0 commit comments

Comments
 (0)