https://github.com/robinlovelace/cross_language_projects
Deploying cross-language in high impact projects: slides for Spatial Data Science across Languages conference
https://github.com/robinlovelace/cross_language_projects
cross-language data-science geocomputation spatial
Last synced: 5 months ago
JSON representation
Deploying cross-language in high impact projects: slides for Spatial Data Science across Languages conference
- Host: GitHub
- URL: https://github.com/robinlovelace/cross_language_projects
- Owner: Robinlovelace
- License: cc0-1.0
- Created: 2024-09-16T21:43:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-23T23:29:39.000Z (over 1 year ago)
- Last Synced: 2026-01-16T12:23:22.915Z (6 months ago)
- Topics: cross-language, data-science, geocomputation, spatial
- Language: SCSS
- Homepage: https://crosslanguage.robinlovelace.net/
- Size: 15.5 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploying cross-language in high impact projects
The materials here support a talk at the [Spatial Data Science across
Languages (SDSL)](https://spatial-data-science.github.io/2024/)
conference 2024.
See the [slides here](slides) and in the dropdown menu above.
The quickest way to reproduce the code is probably with GitHub
codespaces or Codeanywhere, by opening the following link.
[](https://codespaces.new/Robinlovelace/cross_language_projects)
[](https://app.codeanywhere.com/#https://github.com/Robinlovelace/cross_language_projects)
See the source code at
[github.com/robinlovelace](https://github.com/Robinlovelace/cross_language_projects).
See the README for more information.
Based on
https://robinlovelace.github.io/reproducible-slides-repo-template/slides
To create your own “reproducible slides repo” follow the instructions in
the link above, starting by cloning this repo or creating a template
from this one:
``` bash
gh repo clone robinlovelace/cross_language_projects
code cross_language_projects
```
Or go to
https://github.com/Robinlovelace/reproducible-slides-repo-template and
click “Use this template”.
## Setup
To setup the repo the following commands were used
``` bash
gh repo create # create the repo on github
```
``` r
# Take snapshot with renv:
renv::snapshot()
```
Load the renv with this (also in .Rprofile):
``` r
source("renv/activate.R")
```
- The project is out-of-sync -- use `renv::status()` for details.
``` r
# make renv pick-up rmarkdown dep:
library(rmarkdown)
library(knitr)
```
Install Python packages with:
``` r
# reticulate::install_python()
reticulate::py_install("geopandas")
```
Using virtual environment '/home/robin/.virtualenvs/r-reticulate' ...
+ /home/robin/.virtualenvs/r-reticulate/bin/python -m pip install --upgrade --no-user geopandas
``` r
reticulate::py_install("matplotlib")
```
Using virtual environment '/home/robin/.virtualenvs/r-reticulate' ...
+ /home/robin/.virtualenvs/r-reticulate/bin/python -m pip install --upgrade --no-user matplotlib