{
  "_id": "6ab112fc3d719c1f84086a58",
  "Package": "bufferscape",
  "Title": "Distance-Weighted Landscape Composition in Buffers Around Point\nLocations",
  "Version": "1.3.0",
  "Authors@R": "person(\"Michele\", \"Planta\",\nemail = \"micheleplanta@outlook.it\",\nrole  = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0000-3353-5368\"))",
  "Description": "Characterises the environment surrounding point locations\nby computing land-cover composition within circular buffers\ndirectly from vector polygons, without conversion to a raster\ngrid. For each site and each class it returns the exact surface\narea inside the buffer and a distance-decay weighted\n\"effective\" area in which the kernel is integrated over polygon\ngeometry rather than evaluated at the polygon centroid,\navoiding the large bias the centroid approximation introduces\nfor elongated features passing close to the site. Polygons may\noverlap, so class areas are not constrained to sum to the\nbuffer area. Intended for buffer-based exposure assessment and\nfine-scale spatial epidemiology, where the relevant scale is\ntens of metres and global land-cover products are too coarse:\nland-use regression around air-quality monitors, green space\naround residential addresses, vector-surveillance traps, and\ncomparable designs. The classification dictionary is\nuser-supplied, and point features and distances to off-buffer\nreference features are recorded alongside the areas.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/mplanta-lab/bufferscape",
  "BugReports": "https://github.com/mplanta-lab/bufferscape/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://mplanta-lab.r-universe.dev",
  "Date/Publication": "2026-09-21 05:52:29 UTC",
  "RemoteUrl": "https://github.com/mplanta-lab/bufferscape",
  "RemoteRef": "HEAD",
  "RemoteSha": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 11:12:53 UTC",
    "User": "root"
  },
  "Author": "Michele Planta [aut, cre] (ORCID:\n<https://orcid.org/0009-0000-3353-5368>)",
  "Maintainer": "Michele Planta <micheleplanta@outlook.it>",
  "_user": "mplanta-lab",
  "_type": "src",
  "_file": "bufferscape_1.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/2e165bb7f9e6a6123ab890e4998fa9220d8a919f358c270bf41392fb34db3b1c",
  "_filesize": 311257,
  "_sha256": "2e165bb7f9e6a6123ab890e4998fa9220d8a919f358c270bf41392fb34db3b1c",
  "_expires": "2026-12-30T11:20:26.000Z",
  "_created": "2026-09-21T11:12:53.000Z",
  "_published": "2026-09-21T11:20:28.154Z",
  "_jobs": [
    {
      "job": 106311030980,
      "time": 193,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10635316206"
    },
    {
      "job": 106311031030,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10635485900"
    },
    {
      "job": 106311030935,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10635616443"
    },
    {
      "job": 106311030953,
      "time": 180,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10636036279"
    },
    {
      "job": 106309988540,
      "time": 217,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10635420516"
    },
    {
      "job": 106311031078,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10635465816"
    },
    {
      "job": 106311031122,
      "time": 133,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10636035464"
    },
    {
      "job": 106311031168,
      "time": 127,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10635039715"
    },
    {
      "job": 106311031101,
      "time": 119,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10636135089"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355",
  "_status": "success",
  "_upstream": "https://github.com/mplanta-lab/bufferscape",
  "_commit": {
    "id": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
    "author": "Michele Planta <micheleplanta@outlook.it>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update cache version in R-CMD-check workflow",
    "time": 1789969949
  },
  "_maintainer": {
    "name": "Michele Planta",
    "email": "micheleplanta@outlook.it",
    "login": "mplanta-lab",
    "orcid": "0009-0000-3353-5368",
    "description": "MD PhD | Public Health Specialist | \nBuilding reproducible tools for clinical research, real-world evidence, causal inference and health data science with R",
    "uuid": 308799537
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "sf",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "writexl",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "terra",
      "role": "Suggests"
    },
    {
      "package": "maptiles",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "mplanta-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 7
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v.1.0.0",
      "date": "2026-07-25"
    },
    {
      "name": "v.1.0.1",
      "date": "2026-07-25"
    },
    {
      "name": "v.1.0.2",
      "date": "2026-07-26"
    },
    {
      "name": "v.1.0.3",
      "date": "2026-07-26"
    },
    {
      "name": "v.1.2.0",
      "date": "2026-08-24"
    },
    {
      "name": "v1.2.1",
      "date": "2026-09-15"
    },
    {
      "name": "v1.3.0",
      "date": "2026-09-21"
    }
  ],
  "_topics": [
    "buffer-analysis",
    "exposure-assessment",
    "gis",
    "land-use-modeling",
    "landscape-ecology",
    "sf",
    "spatial-analysis",
    "spatial-epidemiology",
    "vector-borne-diseases"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mplanta-lab",
      "count": 12,
      "uuid": 308799537
    }
  ],
  "_userbio": {
    "uuid": 308799537,
    "type": "user",
    "name": "Michele Planta",
    "followers": 0,
    "description": "MD PhD | Public Health Specialist | \r\nBuilding reproducible tools for clinical research, real-world evidence, causal inference and health data science with R"
  },
  "_downloads": {
    "count": 264,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bufferscape"
  },
  "_devurl": "https://github.com/mplanta-lab/bufferscape",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bufferscape.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/mplanta-lab/bufferscape",
  "_realowner": "mplanta-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2026-08-05"
    }
  ],
  "_exports": [
    "batch_composition",
    "buffer_composition",
    "centroid_bias",
    "class_dictionary",
    "class_palette",
    "decay_kernel",
    "map_basemap",
    "map_combined",
    "map_composition",
    "parse_class_codes",
    "plot_group_points",
    "plot_site_composition",
    "resolve_palette",
    "summarise_centroid_bias",
    "validate_dictionary",
    "viridis_colours",
    "write_composition_report"
  ],
  "_datasets": [
    {
      "name": "mare_categories",
      "title": "Maré 28-class urban morphology dictionary",
      "object": "mare_categories",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "category",
        "description",
        "label_en",
        "fill",
        "pattern"
      ],
      "rows": 28,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "batch_composition",
      "title": "Process every KML in a folder",
      "topics": [
        "batch_composition"
      ]
    },
    {
      "page": "buffer_composition",
      "title": "Buffer-level landscape metrics for point sampling sites",
      "topics": [
        "buffer_composition"
      ]
    },
    {
      "page": "centroid_bias",
      "title": "Quantify the centroid approximation bias, polygon by polygon",
      "topics": [
        "centroid_bias"
      ]
    },
    {
      "page": "class_dictionary",
      "title": "Land-cover category dictionary",
      "topics": [
        "class_dictionary"
      ]
    },
    {
      "page": "class_palette",
      "title": "Colour and texture schemes for a dictionary",
      "topics": [
        "class_palette"
      ]
    },
    {
      "page": "decay_kernel",
      "title": "Distance-decay kernels",
      "topics": [
        "decay_kernel"
      ]
    },
    {
      "page": "map_basemap",
      "title": "Satellite basemap figure for one sampling site",
      "topics": [
        "map_basemap"
      ]
    },
    {
      "page": "map_combined",
      "title": "Combined imagery and land-cover figure for one sampling site",
      "topics": [
        "map_combined"
      ]
    },
    {
      "page": "map_composition",
      "title": "Land-cover map for one sampling site",
      "topics": [
        "map_composition"
      ]
    },
    {
      "page": "mare_categories",
      "title": "Maré 28-class urban morphology dictionary",
      "topics": [
        "mare_categories"
      ]
    },
    {
      "page": "parse_class_codes",
      "title": "Parse a polygon description into primary and secondary category codes",
      "topics": [
        "parse_class_codes"
      ]
    },
    {
      "page": "plot_group_points",
      "title": "Water containers per site across a community",
      "topics": [
        "plot_group_points"
      ]
    },
    {
      "page": "plot_site_composition",
      "title": "Land-cover composition chart for one sampling site",
      "topics": [
        "plot_site_composition"
      ]
    },
    {
      "page": "resolve_palette",
      "title": "Resolve a palette argument",
      "topics": [
        "resolve_palette"
      ]
    },
    {
      "page": "summarise_centroid_bias",
      "title": "Summarise centroid bias",
      "topics": [
        "summarise_centroid_bias"
      ]
    },
    {
      "page": "validate_dictionary",
      "title": "Validate and complete a category dictionary",
      "topics": [
        "validate_dictionary"
      ]
    },
    {
      "page": "viridis_colours",
      "title": "Viridis colours without a package dependency",
      "topics": [
        "viridis_colours"
      ]
    },
    {
      "page": "write_composition_report",
      "title": "Write a composition workbook",
      "topics": [
        "write_composition_report"
      ]
    }
  ],
  "_readme": "https://github.com/mplanta-lab/bufferscape/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "bufferscape.Rmd",
      "filename": "bufferscape.html",
      "title": "Landscape composition in point buffers",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The problem",
        "A worked example",
        "Why not weight at the centroid",
        "Choosing the kernel",
        "Choosing the buffer size",
        "Using your own classification",
        "Palettes",
        "Overlapping polygons",
        "A whole folder",
        "Point features and reference distances"
      ],
      "created": "2026-07-25 21:58:08",
      "modified": "2026-08-24 00:07:57",
      "commits": 2
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "bufferscape",
  "_universes": [
    "mplanta-lab"
  ],
  "_previous": "1.2.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-21T11:15:28.000Z",
      "distro": "resolute",
      "commit": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
      "fileid": "https://r2.ropensci.org/77f2ae0682b68c21c7732eebcb9ab7567eeb08e3ec315df33cfa3e96dfc27c95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-21T11:15:29.000Z",
      "distro": "resolute",
      "commit": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
      "fileid": "https://r2.ropensci.org/6bb349d498b553a17a9157f38c14cd2e2a950aab99821b0312f7e6c3cd537a04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-21T11:15:50.000Z",
      "commit": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
      "fileid": "https://r2.ropensci.org/1cc26caa7a570df96abf94bac9a1398fcaa23fd2975822d91805089cc854a7d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-21T11:19:00.000Z",
      "commit": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
      "fileid": "https://r2.ropensci.org/2ef4a95890035a60095f1e5f29d5e3664263369038e17d4234d37a6b306c66af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-09-21T11:15:40.000Z",
      "commit": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
      "fileid": "https://r2.ropensci.org/0bd27aed3f21e0e1a4d4479de5d3c0459e9fe8acc1e9f3d3b5954b35111b09dc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-21T11:14:15.000Z",
      "commit": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
      "fileid": "https://r2.ropensci.org/a04ef2e3d3395f1e74ab33cdbd03dc552189e377c94967cec8430bffeb0c7563",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-21T11:14:14.000Z",
      "commit": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
      "fileid": "https://r2.ropensci.org/1adf80caf47386ec30b3ec381bee163c90e27d51dfe93672f0c23647df660b44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-21T11:14:01.000Z",
      "commit": "7d4e8c4e999d25eee03fc5f140526f54f8b2f00a",
      "fileid": "https://r2.ropensci.org/13b029276d41dd1e8fc978a78f84ba874418ead126527f90409f87c49e36fa6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mplanta-lab/actions/runs/35592543355"
    }
  ]
}