Giter VIP home page Giter VIP logo

sdsr's Introduction

quarto sources the "Spatial Data Science" book.

A rendered (html) version of this book is available here. The pdf version has been submitted to CRC/Chapman and Hall, for hardcopy publication.

To recreate/reproduce this book:

See also the Dockerfile; building the image with

docker build . -t sdsr --build-arg TZ=`timedatectl show --property=Timezone | awk -F = '{print $2}'`

and running it with

docker run -d -p 80:80 sdsr:latest

will serve the html book on http://localhost:80

Dependencies

To locally process the book, install the following R packages from CRAN:

install.packages(c(
  "dbscan",
  "gstat",
  "hglm",
  "igraph",
  "lme4",
  "lmtest",
  "maps",
  "mapview",
  "matrixStats",
  "mgcv",
  "R2BayesX",
  "rgeoda",
  "rnaturalearth",
  "rnaturalearthdata",
  "sf",
  "spatialreg",
  "spdep",
  "spData",
  "stars",
  "tidyverse",
  "tmap"))

Install INLA:

install.packages("INLA", repos = c(getOption("repos"), INLA="https://inla.r-inla-download.org/R/stable"))

Install spDataLarge:

options(timeout = 600); install.packages("spDataLarge", repos = "https://nowosad.github.io/drat/",type = "source")

Install starsdata:

options(timeout = 600); install.packages("starsdata", repos = "http://pebesma.staff.ifgi.de", type = "source")

Install sf and stars from source from github (not needed after sf 1.0-9 and stars 0.5-7 are available from CRAN):

# apt-get install -y  libudunits2-dev libgdal-dev libgeos-dev libproj-dev
install.packages("remotes")
remotes::install_github("r-spatial/sf")
remotes::install_github("r-spatial/stars")

or as binary from r-universe:

options(repos = c(
  rspatial = "https://r-spatial.r-universe.dev",
  CRAN = "https://cloud.r-project.org"))
install.packages(c("sf", "stars"))

sdsr's People

Contributors

edzer avatar rsbivand avatar nowosad avatar jonathom avatar jafro96 avatar singhkpratham avatar liuyadong avatar hurielreichel avatar kadyb avatar ppaccioretti avatar robinlovelace avatar syverpet avatar jonas-hurst avatar angela-li avatar alanguillaume avatar florisvdh avatar ismailsunni avatar andronaco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.