{
  "_id": "6a3d8910a319ef941447bf0e",
  "Package": "slopes",
  "Title": "Calculate Slopes of Roads, Rivers and Trajectories",
  "Version": "2.0.0",
  "Authors@R": "c(\nperson(\"Robin\", \"Lovelace\", email = \"rob00x@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-5679-6536\")),\nperson(\"Rosa\", \"Félix\", email = \"rosamfelix@tecnico.ulisboa.pt\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-5642-6006\")),\nperson(\"Joey\", \"Talbot\", email = \"j.d.talbot@leeds.ac.uk\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-6520-4560\")),\nperson(\"Gonçalo\", \"Matos\", email = \"goncaloafmatos@tecnico.ulisboa.pt\", role = c(\"aut\"),\ncomment = c(ORCID = \"0009-0001-3489-1732\")),\nperson(\"Dan\", \"Olner\", role = c(\"rev\"), comment = \"Dan reviewed the package for rOpenSci, see https://github.com/ropensci/software-review/issues/420#issuecomment-857662657 \"),\nperson(\"Andy\", \"Teucher\", role = c(\"rev\"), comment = \"Andy reviewed the package for rOpenSci, see https://github.com/ropensci/software-review/issues/420#issuecomment-858231647 \")\n)",
  "Description": "Calculates the slope (longitudinal gradient or steepness)\nof linear geographic features such as roads (for more details,\nsee Ariza-López et al. (2019) <doi:10.1038/s41597-019-0147-x>)\nand rivers (for more details, see Cohen et al. (2018)\n<doi:10.1016/j.jhydrol.2018.06.066>). It can use local Digital\nElevation Model (DEM) data or download DEM data via the\n'ceramic' package. The package also provides functions to add\nelevation data to linestrings and visualize elevation profiles.",
  "License": "GPL-3",
  "URL": "https://github.com/ropensci/slopes/,\nhttps://docs.ropensci.org/slopes/",
  "BugReports": "https://github.com/ropensci/slopes/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/Needs/website": "generics",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2026-06-25 18:15:04 UTC",
  "RemoteUrl": "https://github.com/ropensci/slopes",
  "RemoteRef": "master",
  "RemoteSha": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-25 19:57:26 UTC",
    "User": "root"
  },
  "Author": "Robin Lovelace [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-5679-6536>),\nRosa Félix [aut] (ORCID: <https://orcid.org/0000-0002-5642-6006>),\nJoey Talbot [aut] (ORCID: <https://orcid.org/0000-0002-6520-4560>),\nGonçalo Matos [aut] (ORCID: <https://orcid.org/0009-0001-3489-1732>),\nDan Olner [rev] (Dan reviewed the package for rOpenSci, see\nhttps://github.com/ropensci/software-review/issues/420#issuecomment-857662657),\nAndy Teucher [rev] (Andy reviewed the package for rOpenSci, see\nhttps://github.com/ropensci/software-review/issues/420#issuecomment-858231647)",
  "Maintainer": "Robin Lovelace <rob00x@gmail.com>",
  "MD5sum": "218af2d5e762116e55367723b5695f3a",
  "_user": "ropensci",
  "_type": "src",
  "_file": "slopes_2.0.0.tar.gz",
  "_fileid": "8c3dcdc6736cae1deba474a63da44343794ae1ba1423c31a9450d5444abf053d",
  "_filesize": 2423456,
  "_sha256": "8c3dcdc6736cae1deba474a63da44343794ae1ba1423c31a9450d5444abf053d",
  "_created": "2026-06-25T19:57:26.000Z",
  "_published": "2026-06-25T20:01:20.889Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83525570484,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7889431272"
    },
    {
      "job": 83525570474,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7889433554"
    },
    {
      "job": 83525570540,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7889413895"
    },
    {
      "job": 83525570440,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7889408181"
    },
    {
      "job": 83524843154,
      "time": 259,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7889373667"
    },
    {
      "job": 83524843121,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7889361386"
    },
    {
      "job": 83525570446,
      "time": 191,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7889434231"
    },
    {
      "job": 83525570525,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7889416059"
    },
    {
      "job": 83525570492,
      "time": 123,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7889408969"
    },
    {
      "job": 83525570441,
      "time": 124,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7889409271"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/slopes",
  "_commit": {
    "id": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
    "author": "RFlx <temospena@gmail.com>",
    "committer": "RFlx <temospena@gmail.com>",
    "message": "Create CRAN-SUBMISSION\n\n#81\n",
    "time": 1782411304
  },
  "_maintainer": {
    "name": "Robin Lovelace",
    "email": "rob00x@gmail.com",
    "login": "robinlovelace",
    "mastodon": "@robinlovelace@fosstodon.org",
    "bluesky": "@robinlovelace.bsky.social",
    "linkedin": "in/robin-lovelace-20751a34",
    "orcid": "0000-0001-5679-6536",
    "twitter": "@robinlovelace",
    "description": "Professor of Transport Data Science, University of Leeds 🎓  Researcher, teacher and builder of open source solutions 🚶🚲🚀",
    "uuid": 1825120
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "geodist",
      "role": "Imports"
    },
    {
      "package": "colorspace",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ceramic",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "osmextract",
      "role": "Suggests"
    },
    {
      "package": "stplanr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tmap",
      "role": "Suggests"
    },
    {
      "package": "leaflet",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 8
    },
    {
      "week": "2026-26",
      "n": 10
    }
  ],
  "_tags": [
    {
      "name": "v1.0.2",
      "date": "2026-06-23"
    },
    {
      "name": "v2.0.0",
      "date": "2026-06-23"
    }
  ],
  "_stars": 77,
  "_contributors": [
    {
      "user": "robinlovelace",
      "count": 251,
      "uuid": 1825120
    },
    {
      "user": "temospena",
      "count": 95,
      "uuid": 39107166
    },
    {
      "user": "gmatosferreira",
      "count": 4,
      "uuid": 50376686
    },
    {
      "user": "cherylisabella",
      "count": 3,
      "uuid": 104558827
    },
    {
      "user": "annakrystalli",
      "count": 1,
      "uuid": 5583057
    },
    {
      "user": "maelle",
      "count": 1,
      "uuid": 8360597
    },
    {
      "user": "joeytalbot",
      "count": 1,
      "uuid": 52210872
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "followers": 1101,
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 141,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/slopes"
  },
  "_devurl": "https://github.com/ropensci/slopes",
  "_pkgdown": "https://docs.ropensci.org/slopes",
  "_searchresults": 55,
  "_metadata": {
    "review": {
      "id": 420,
      "status": "reviewed",
      "version": "0.0.0.9000",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/420"
    },
    "ropensci_category": "geospatial"
  },
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/slopes.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/slopes",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-06-23"
    },
    {
      "version": "1.0.2",
      "date": "2026-06-17"
    },
    {
      "version": "2.0.0",
      "date": "2026-06-25"
    }
  ],
  "_exports": [
    "dem_lisbon",
    "elevation_add",
    "elevation_extract",
    "elevation_get",
    "plot_dz",
    "plot_slope",
    "route_to_segments",
    "sequential_dist",
    "slope_breaks",
    "slope_colors",
    "slope_distance",
    "slope_distance_mean",
    "slope_distance_weighted",
    "slope_matrices",
    "slope_matrix",
    "slope_matrix_mean",
    "slope_matrix_to_raster",
    "slope_matrix_weighted",
    "slope_raster",
    "slope_vector",
    "slope_xyz",
    "slope_xyz_simple",
    "slopes_palette"
  ],
  "_datasets": [
    {
      "name": "cyclestreets_route",
      "title": "Cycle route data",
      "object": "cyclestreets_route",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "name",
        "distances",
        "time",
        "busynance",
        "elevations",
        "start_longitude",
        "start_latitude",
        "finish_longitude",
        "finish_latitude",
        "gradient_segment",
        "elevation_change",
        "provisionName",
        "quietness",
        "quietness_segment",
        "geometry"
      ],
      "rows": 18,
      "table": true,
      "tojson": true
    },
    {
      "name": "lisbon_road_network",
      "title": "Lisbon road network",
      "object": "lisbon_road_network",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "OBJECTID",
        "Z_Min",
        "Z_Max",
        "Z_Mean",
        "Min_Slope",
        "Max_Slope",
        "Avg_Slope",
        "geom"
      ],
      "rows": 271,
      "table": true,
      "tojson": true
    },
    {
      "name": "lisbon_road_segment",
      "title": "Lisbon road segment",
      "object": "lisbon_road_segment",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "OBJECTID",
        "Z_Min",
        "Z_Max",
        "Z_Mean",
        "Min_Slope",
        "Max_Slope",
        "Avg_Slope",
        "geom"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "lisbon_road_segment_3d",
      "title": "Lisbon road segment 3D",
      "object": "lisbon_road_segment_3d",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "OBJECTID",
        "Z_Min",
        "Z_Max",
        "Z_Mean",
        "Min_Slope",
        "Max_Slope",
        "Avg_Slope",
        "geom"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "lisbon_road_segment_xyz_mapbox",
      "title": "Lisbon road segment XYZ",
      "object": "lisbon_road_segment_xyz_mapbox",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "OBJECTID",
        "Z_Min",
        "Z_Max",
        "Z_Mean",
        "Min_Slope",
        "Max_Slope",
        "Avg_Slope",
        "geom"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "lisbon_route",
      "title": "Lisbon route data",
      "object": "lisbon_route",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "geometry",
        "ID",
        "sum_length",
        "pathfound"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "lisbon_route_3d",
      "title": "Lisbon route 3D",
      "object": "lisbon_route_3d",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "geometry",
        "ID",
        "sum_length",
        "pathfound"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "lisbon_route_xyz_mapbox",
      "title": "Lisbon route XYZ",
      "object": "lisbon_route_xyz_mapbox",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "geometry",
        "ID",
        "sum_length",
        "pathfound"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "magnolia_xy",
      "title": "Magnolia coordinates",
      "object": "magnolia_xy",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "BLOCKNBR",
        "SPEEDLIMIT",
        "SLOPE_PCT",
        "geometry"
      ],
      "rows": 433,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cyclestreets_route",
      "title": "Cycle route data",
      "topics": [
        "cyclestreets_route"
      ]
    },
    {
      "page": "dem_lisbon",
      "title": "Read the bundled Lisbon DEM as a SpatRaster",
      "topics": [
        "dem_lisbon"
      ]
    },
    {
      "page": "distance_z",
      "title": "Extract distance and elevation data from route",
      "topics": [
        "distance_z"
      ]
    },
    {
      "page": "elevation_add",
      "title": "Add elevation data to routes linestrings or points",
      "topics": [
        "elevation_add"
      ]
    },
    {
      "page": "elevation_extract",
      "title": "Extract elevation values from coordinates",
      "topics": [
        "elevation_extract"
      ]
    },
    {
      "page": "elevation_get",
      "title": "Get elevation data for routes",
      "topics": [
        "elevation_get"
      ]
    },
    {
      "page": "lisbon_road_network",
      "title": "Lisbon road network",
      "topics": [
        "lisbon_road_network"
      ]
    },
    {
      "page": "lisbon_road_segment",
      "title": "Lisbon road segment",
      "topics": [
        "lisbon_road_segment"
      ]
    },
    {
      "page": "lisbon_road_segment_3d",
      "title": "Lisbon road segment 3D",
      "topics": [
        "lisbon_road_segment_3d"
      ]
    },
    {
      "page": "lisbon_road_segment_xyz_mapbox",
      "title": "Lisbon road segment XYZ",
      "topics": [
        "lisbon_road_segment_xyz_mapbox"
      ]
    },
    {
      "page": "lisbon_route",
      "title": "Lisbon route data",
      "topics": [
        "lisbon_route"
      ]
    },
    {
      "page": "lisbon_route_3d",
      "title": "Lisbon route 3D",
      "topics": [
        "lisbon_route_3d"
      ]
    },
    {
      "page": "lisbon_route_xyz_mapbox",
      "title": "Lisbon route XYZ",
      "topics": [
        "lisbon_route_xyz_mapbox"
      ]
    },
    {
      "page": "magnolia_xy",
      "title": "Magnolia coordinates",
      "topics": [
        "magnolia_xy"
      ]
    },
    {
      "page": "make_breaks",
      "title": "Create slope breaks for color mapping",
      "topics": [
        "make_breaks"
      ]
    },
    {
      "page": "make_colz",
      "title": "Assign colors to slope values",
      "topics": [
        "make_colz"
      ]
    },
    {
      "page": "make_pal",
      "title": "Create color palette for slope visualization",
      "topics": [
        "make_pal"
      ]
    },
    {
      "page": "plot_dz",
      "title": "Plot distance-elevation profile with slope coloring",
      "topics": [
        "plot_dz"
      ]
    },
    {
      "page": "plot_slope",
      "title": "Plot elevation profile with slope coloring",
      "topics": [
        "plot_slope"
      ]
    },
    {
      "page": "route_to_segments",
      "title": "Split a route into vertex-to-vertex segments",
      "topics": [
        "route_to_segments"
      ]
    },
    {
      "page": "sequential_dist",
      "title": "Calculate sequential distances between points",
      "topics": [
        "sequential_dist"
      ]
    },
    {
      "page": "sf_mid_ext_lonlat",
      "title": "Extract midpoint and extent from routes in lonlat",
      "topics": [
        "sf_mid_ext_lonlat"
      ]
    },
    {
      "page": "slope_breaks",
      "title": "Recommended slope break thresholds (as proportions)",
      "topics": [
        "slope_breaks"
      ]
    },
    {
      "page": "slope_colors",
      "title": "Recommended slope colours (dark green to dark red)",
      "topics": [
        "slope_colors"
      ]
    },
    {
      "page": "slope_distance",
      "title": "Calculate slopes using distance data",
      "topics": [
        "slope_distance"
      ]
    },
    {
      "page": "slope_distance_mean",
      "title": "Calculate mean slope using distance weighting",
      "topics": [
        "slope_distance_mean"
      ]
    },
    {
      "page": "slope_distance_weighted",
      "title": "Calculate distance-weighted slopes",
      "topics": [
        "slope_distance_weighted"
      ]
    },
    {
      "page": "slope_matrices",
      "title": "Calculate slopes for multiple coordinate matrices",
      "topics": [
        "slope_matrices"
      ]
    },
    {
      "page": "slope_matrix",
      "title": "Calculate slopes from coordinate matrix",
      "topics": [
        "slope_matrix"
      ]
    },
    {
      "page": "slope_matrix_mean",
      "title": "Calculate mean slope from coordinate matrix",
      "topics": [
        "slope_matrix_mean"
      ]
    },
    {
      "page": "slope_matrix_to_raster",
      "title": "Convert slope matrix to SpatRaster",
      "topics": [
        "slope_matrix_to_raster"
      ]
    },
    {
      "page": "slope_matrix_weighted",
      "title": "Calculate weighted slopes from coordinate matrix",
      "topics": [
        "slope_matrix_weighted"
      ]
    },
    {
      "page": "slope_raster",
      "title": "Calculate slopes using raster elevation data",
      "topics": [
        "slope_raster"
      ]
    },
    {
      "page": "slope_vector",
      "title": "Calculate slopes from vector data",
      "topics": [
        "slope_vector"
      ]
    },
    {
      "page": "slope_xyz",
      "title": "Calculate slopes from XYZ coordinate data",
      "topics": [
        "slope_xyz"
      ]
    },
    {
      "page": "slope_xyz_simple",
      "title": "Extract XYZ coordinates from SpatRaster or matrix",
      "topics": [
        "slope_xyz_simple"
      ]
    },
    {
      "page": "slopes_palette",
      "title": "Get color palette for slopes visualization",
      "topics": [
        "slopes_palette"
      ]
    }
  ],
  "_readme": "https://github.com/ropensci/slopes/raw/master/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "colorspace",
    "DBI",
    "e1071",
    "geodist",
    "KernSmooth",
    "MASS",
    "pbapply",
    "proxy",
    "Rcpp",
    "s2",
    "sf",
    "terra",
    "units",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "intro-to-slopes.Rmd",
      "filename": "intro-to-slopes.html",
      "title": "An introduction to slopes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Calculating slopes",
        "Measures of route hilliness",
        "Segments in a route: Cumulative slope",
        "References"
      ],
      "created": "2021-08-24 14:29:17",
      "modified": "2025-05-29 22:17:28",
      "commits": 4
    },
    {
      "source": "benchmark.Rmd",
      "filename": "benchmark.html",
      "title": "Benchmarking slopes calculation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Performance"
      ],
      "created": "2021-06-21 07:58:42",
      "modified": "2026-06-16 16:35:36",
      "commits": 5
    },
    {
      "source": "roadnetworkcycling.Rmd",
      "filename": "roadnetworkcycling.html",
      "title": "Example: gradients of a road network for a given city",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Extract the OSM network from geofabrik",
        "Clean the road network",
        "Filter the unconnected segments",
        "Break the segments on vertices",
        "Get slope values for each segment",
        "Result:",
        "Other examples"
      ],
      "created": "2021-06-21 07:58:42",
      "modified": "2025-05-29 09:30:00",
      "commits": 9
    },
    {
      "source": "slopes.Rmd",
      "filename": "slopes.html",
      "title": "Get started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Installation for DEM downloads",
        "Functions",
        "Elevation",
        "Slope calculation",
        "Plotting",
        "Helper functions",
        "Examples",
        "Add elevation to linestrings or points",
        "Calculate slope",
        "Plot elevation profile",
        "Working with segments",
        "By vertex (native segments of the linestring)",
        "By fixed length (using stplanr)"
      ],
      "created": "2020-05-05 10:14:39",
      "modified": "2026-06-22 19:56:52",
      "commits": 33
    },
    {
      "source": "verification.Rmd",
      "filename": "verification.html",
      "title": "Verification of slopes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Case studies",
        "Roads in the Netherlands",
        "Comparison of DEM-derived and survey-grade Z values",
        "DEM for eu:",
        "Test it's installed:",
        "Find location of aws cli from powershell (equivalent of which aws on Linux):",
        "Get-Command aws | Select-Object -ExpandProperty Source",
        "C:\\Program Files\\Amazon\\AWSCLIV2\\aws.exe",
        "Now aws should work",
        "Download DEM for Brussels 6 km from center",
        "Calculate slopes with the slopes package:",
        "Add elevation to cycle network segments",
        "check the extents of both:",
        "Calculate slopes for each segment",
        "cycle_net_xyz$slope = slope_xyz(cycle_net_xyz, lonlat = TRUE, fun = slope_matrix_mean)",
        "Convert to percentage:",
        "Convert to factor with greater than 5 being \"5+\"",
        "Drop z dimension",
        "install cran version",
        "Save with tmap",
        "url of the file:",
        "References"
      ],
      "created": "2020-05-06 00:06:53",
      "modified": "2026-06-20 00:17:02",
      "commits": 8
    }
  ],
  "_score": 8.648042713736665,
  "_indexed": true,
  "_nocasepkg": "slopes",
  "_universes": [
    "ropensci",
    "robinlovelace"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-25T20:00:24.000Z",
      "distro": "resolute",
      "commit": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
      "fileid": "777923b106f3e7b67237f903d1967455bb77339e63a0461bda31c13c96f16ad2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-25T20:00:28.000Z",
      "distro": "resolute",
      "commit": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
      "fileid": "b4f7e60556e7b8875a6812ded606316832bb6c3a7cdf977a839fbfeab0efcb11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-06-25T19:59:41.000Z",
      "commit": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
      "fileid": "8853056c144f6354d962e7de41632b7656184812eabb004d6f1147c121d5b10c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-06-25T19:59:27.000Z",
      "commit": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
      "fileid": "5fb9068965e6dbcf38644e98fb2fbecc7c43ba3b3e1e93de0c9f8da5ee97e402",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-06-25T20:00:56.000Z",
      "commit": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
      "fileid": "8f8a686c6e6026efe0fa8f176f1756947dc7b79c349e3feb93cf8863b6e20498",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-06-25T19:59:40.000Z",
      "commit": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
      "fileid": "55ee30a939fc269d64558ce4c0fe39a66bad0daf3ec2250f6403aa17748e7fa5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-06-25T19:59:21.000Z",
      "commit": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
      "fileid": "8300c8ba553a9b40bc399cedd7c11ad489aeb77db7cebdcf1658e0e5a8aed554",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-06-25T19:59:16.000Z",
      "commit": "a50419a7198c9bfed27049c172e2b14ce0b5c7a9",
      "fileid": "a47afe3f642e21a54c35bbddea672cddebe2dfa9bcade7e9d1c9d68eabd1ddc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28196555298"
    }
  ]
}