{
  "_id": "6a12974cacfb0bcc41d0cab8",
  "Encoding": "UTF-8",
  "Package": "btb",
  "Type": "Package",
  "Title": "Beyond the Border - Kernel Density Estimation for Urban\nGeography",
  "Description": "The kernelSmoothing() function allows you to square and\nsmooth geolocated data. It calculates a classical kernel\nsmoothing (conservative) or a geographically weighted median.\nThere are four major call modes of the function. The first call\nmode is kernelSmoothing(obs, epsg, cellsize, bandwidth) for a\nclassical kernel smoothing and automatic grid. The second call\nmode is kernelSmoothing(obs, epsg, cellsize, bandwidth,\nquantiles) for a geographically weighted median and automatic\ngrid. The third call mode is kernelSmoothing(obs, epsg,\ncellsize, bandwidth, centroids) for a classical kernel\nsmoothing and user grid. The fourth call mode is\nkernelSmoothing(obs, epsg, cellsize, bandwidth, quantiles,\ncentroids) for a geographically weighted median and user grid.\nGeographically weighted summary statistics : a framework for\nlocalised exploratory data analysis, C.Brunsdon & al., in\nComputers, Environment and Urban Systems C.Brunsdon & al.\n(2002) <doi:10.1016/S0198-9715(01)00009-6>, Statistical\nAnalysis of Spatial and Spatio-Temporal Point Patterns, Third\nEdition, Diggle, pp. 83-86, (2003)\n<doi:10.1080/13658816.2014.937718>.",
  "Version": "0.2.2",
  "License": "GPL (>= 2)",
  "Date": "2026-01-20",
  "Authors@R": "c( \nperson(\"Arlindo\", \"Dos Santos\", role = c(\"aut\")),\nperson(\"François\", \"Sémécurbe\", role = c(\"aut\")),\nperson(\"Julien\", \"Pramil\", role = c(\"aut\")),\nperson(\"Solène\", \"Colin\", role = c(\"cre\", \"ctb\"), email = \"solene.colin@insee.fr\"),\nperson(\"Kim\", \"Antunez\", role = c(\"ctb\")),\nperson(\"Auriane\", \"Renaud\", role = c(\"ctb\")),\nperson(\"Farida\", \"Marouchi\", role = c(\"ctb\")),\nperson(\"Joachim\", \"Timotéo\", role = c(\"ctb\")),\nperson(\"Institut national de la statistique et des études économiques\", role = c(\"cph\"))\n)",
  "Maintainer": "Solène Colin <solene.colin@insee.fr>",
  "LazyData": "true",
  "URL": "https://github.com/InseeFr/btb, https://inseefr.github.io/btb/",
  "BugReports": "https://github.com/InseeFr/btb/issues",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://inseefr.r-universe.dev",
  "Date/Publication": "2026-01-20 14:05:01 UTC",
  "RemoteUrl": "https://github.com/inseefr/btb",
  "RemoteRef": "HEAD",
  "RemoteSha": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-24 06:08:37 UTC",
    "User": "root"
  },
  "Author": "Arlindo Dos Santos [aut],\nFrançois Sémécurbe [aut],\nJulien Pramil [aut],\nSolène Colin [cre, ctb],\nKim Antunez [ctb],\nAuriane Renaud [ctb],\nFarida Marouchi [ctb],\nJoachim Timotéo [ctb],\nInstitut national de la statistique et des études économiques [cph]",
  "MD5sum": "633ad9131031961b11f50377737f57ec",
  "_user": "inseefr",
  "_type": "src",
  "_file": "btb_0.2.2.tar.gz",
  "_fileid": "97128a4a8cc025afde36e993c1d5fe31dbb69b06a2f282207c4930d08f169893",
  "_filesize": 1176855,
  "_sha256": "97128a4a8cc025afde36e993c1d5fe31dbb69b06a2f282207c4930d08f169893",
  "_created": "2026-05-24T06:08:37.000Z",
  "_published": "2026-05-24T06:14:36.682Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77576328935,
      "time": 188,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182774412"
    },
    {
      "job": 77576328938,
      "time": 193,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182775087"
    },
    {
      "job": 77576328953,
      "time": 194,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182775027"
    },
    {
      "job": 77576328937,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182774252"
    },
    {
      "job": 77576328969,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182766233"
    },
    {
      "job": 77576328982,
      "time": 207,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182776436"
    },
    {
      "job": 77576328981,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182765020"
    },
    {
      "job": 77576328966,
      "time": 297,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182784890"
    },
    {
      "job": 77576069607,
      "time": 275,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182754330"
    },
    {
      "job": 77576328914,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 77576328947,
      "time": 261,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182781603"
    },
    {
      "job": 77576328954,
      "time": 151,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182770747"
    },
    {
      "job": 77576328939,
      "time": 171,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182772864"
    }
  ],
  "_buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/inseefr/btb",
  "_commit": {
    "id": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
    "author": "solenecolin <solene.colin@insee.fr>",
    "committer": "solenecolin <solene.colin@insee.fr>",
    "message": "màj date 0.2.2\n",
    "time": 1768917901
  },
  "_maintainer": {
    "name": "Solène Colin",
    "email": "solene.colin@insee.fr",
    "login": "soleneco",
    "description": "",
    "uuid": 149091680
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Depends"
    },
    {
      "package": "mapsf",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "version": ">= 1.60.0-1",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.9",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "inseefr",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "statistical-package",
    "cpp"
  ],
  "_stars": 18,
  "_contributors": [
    {
      "user": "avouacr",
      "count": 20,
      "uuid": 43444134
    },
    {
      "user": "soleneco",
      "count": 11,
      "uuid": 149091680
    },
    {
      "user": "arlindodossantos",
      "count": 8,
      "uuid": 29913953
    },
    {
      "user": "kantunez",
      "count": 6,
      "uuid": 108084126
    },
    {
      "user": "rlesur",
      "count": 2,
      "uuid": 19177171
    },
    {
      "user": "rcarto",
      "count": 2,
      "uuid": 3041254
    },
    {
      "user": "antuki",
      "count": 1,
      "uuid": 24737176
    },
    {
      "user": "rsbivand",
      "count": 1,
      "uuid": 10198404
    },
    {
      "user": "kalibera",
      "count": 1,
      "uuid": 1734520
    }
  ],
  "_userbio": {
    "uuid": 11526805,
    "type": "organization",
    "name": "Insee",
    "description": "Institut national de la statistique et des études économiques"
  },
  "_downloads": {
    "count": 365,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/btb"
  },
  "_devurl": "https://github.com/inseefr/btb",
  "_pkgdown": "https://inseefr.github.io/btb/",
  "_searchresults": 15,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/btb.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/inseefr/btb",
  "_realowner": "inseefr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.7",
      "date": "2016-08-10"
    },
    {
      "version": "0.1.2",
      "date": "2016-10-26"
    },
    {
      "version": "0.1.3",
      "date": "2016-10-28"
    },
    {
      "version": "0.1.14",
      "date": "2017-04-03"
    },
    {
      "version": "0.1.25",
      "date": "2018-05-17"
    },
    {
      "version": "0.1.30",
      "date": "2018-05-23"
    },
    {
      "version": "0.1.30.1",
      "date": "2020-05-26"
    },
    {
      "version": "0.1.30.3",
      "date": "2020-06-03"
    },
    {
      "version": "0.2.0",
      "date": "2022-10-24"
    },
    {
      "version": "0.2.1",
      "date": "2025-03-17"
    },
    {
      "version": "0.2.2",
      "date": "2026-01-20"
    }
  ],
  "_exports": [
    "%>%",
    "btb_add_centroids",
    "btb_add_inspire",
    "btb_ptsToGrid",
    "btb_smooth",
    "dfToGrid",
    "kernelSmoothing"
  ],
  "_datasets": [
    {
      "name": "dfPrix_SP95_2016",
      "title": "Unleaded 95 price in France in 2016",
      "object": "dfPrix_SP95_2016",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SP95",
        "x",
        "y"
      ],
      "rows": 5573,
      "table": true,
      "tojson": true
    },
    {
      "name": "dfRestaurantParis",
      "title": "Parisian restaurants",
      "object": "dfRestaurantParis",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y",
        "french",
        "caribbean",
        "asian",
        "maghreb",
        "african",
        "european",
        "south_america",
        "indian",
        "world",
        "cafeteria",
        "tea_house",
        "brasserie",
        "fastfood",
        "bar",
        "restaurant"
      ],
      "rows": 13823,
      "table": true,
      "tojson": true
    },
    {
      "name": "pixel_france",
      "title": "France grid with 1km square tiles",
      "object": "pixel_france_1km_2154",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y"
      ],
      "rows": 548495,
      "table": true,
      "tojson": true
    },
    {
      "name": "reunion",
      "title": "Households of Reunion",
      "object": "reunion",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y",
        "houhold",
        "phouhold"
      ],
      "rows": 14076,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "btb",
      "title": "Beyond the Border - Kernel Density Estimation for Urban Geography",
      "topics": [
        "btb"
      ]
    },
    {
      "page": "btb_add_centroids",
      "title": "Link points to their centroids",
      "topics": [
        "btb_add_centroids"
      ]
    },
    {
      "page": "btb_add_inspire",
      "title": "Creates Inpire names for a grid",
      "topics": [
        "btb_add_inspire"
      ]
    },
    {
      "page": "btb_ptsToGrid",
      "title": "Compute a grid from centroid points",
      "topics": [
        "btb_ptsToGrid"
      ]
    },
    {
      "page": "btb_smooth",
      "title": "Smoothing with a bisquare kernel or median",
      "topics": [
        "btb_smooth"
      ]
    },
    {
      "page": "constituerGrappes",
      "title": "constituerGrappes",
      "topics": [
        "constituerGrappes"
      ]
    },
    {
      "page": "constituerMatriceEffectifs",
      "title": "constituerMatriceEffectifs",
      "topics": [
        "constituerMatriceEffectifs"
      ]
    },
    {
      "page": "dfPrix_SP95_2016",
      "title": "Unleaded 95 price in France in 2016",
      "topics": [
        "dfPrix_SP95_2016"
      ]
    },
    {
      "page": "dfRestaurantParis",
      "title": "Parisian restaurants",
      "topics": [
        "dfRestaurantParis"
      ]
    },
    {
      "page": "dfToGrid",
      "title": "Depreciated function of btb_ptsToGrid",
      "topics": [
        "dfToGrid"
      ]
    },
    {
      "page": "kernelSmoothing",
      "title": "Depreciated function of btb_smooth",
      "topics": [
        "kernelSmoothing"
      ]
    },
    {
      "page": "pixel_france",
      "title": "France grid with 1km square tiles",
      "topics": [
        "pixel_france"
      ]
    },
    {
      "page": "reunion",
      "title": "Households of Reunion",
      "topics": [
        "reunion"
      ]
    }
  ],
  "_pkglogo": "https://github.com/inseefr/btb/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/inseefr/btb/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "class",
    "classInt",
    "cli",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "maplegend",
    "mapsf",
    "MASS",
    "pillar",
    "pkgconfig",
    "proxy",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "rlang",
    "s2",
    "sf",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "logo.Rmd",
      "filename": "logo.html",
      "title": "Smoothed logo created with btb !",
      "author": "Kim Antunez",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-22 10:05:11",
      "modified": "2026-01-15 09:11:17",
      "commits": 3
    },
    {
      "source": "btb.Rmd",
      "filename": "btb.html",
      "title": "Spatial smoothing with btb R package",
      "author": "Julien PRAMIL",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install btb",
        "Perform spatial smoothing",
        "Warning with personal data",
        "Smoothing gas station prices",
        "The data",
        "Optional step : from points to aggregate grids",
        "First smoothing : the density of gas stations",
        "Smoothing means : gas mean price",
        "Quantile smoothing : smooth the distribution of gas prices",
        "The iNeighbor parameter",
        "Inspire naming",
        "References :",
        "Some interesting use cases"
      ],
      "created": "2022-10-20 19:19:56",
      "modified": "2025-03-13 12:50:46",
      "commits": 3
    }
  ],
  "_score": 6.635483746814912,
  "_indexed": true,
  "_nocasepkg": "btb",
  "_universes": [
    "inseefr",
    "soleneco"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-24T06:11:35.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "acb7f9600377e7e08e3e3229eb284838da617064fbba843513a445dac71f19c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-24T06:11:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "bcd4f34f6556edac6367c47a73ac4243301d834815cee7f09f7a47e06a7d606a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-24T06:11:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "c1bbcaf299faa5c5ff125d2acd833509baae5fef41fb47e16470a72c8e5829db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-24T06:11:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "2f2094dd150382660ae034b7fbac09f96d522b996dc5fb7462d53c38758219d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-24T06:10:35.000Z",
      "arch": "aarch64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "09611f57cbc4a074e7f726b02d7d1c4da330f198272705b881da2562a6db56e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-24T06:11:33.000Z",
      "arch": "x86_64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "869365df3d8090ae883c8dee3bfef636d5a1311d9fdde64e79e571d36b1422ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-24T06:10:25.000Z",
      "arch": "aarch64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "dffb336e32967279b66791d7106f401eb420f2f58017165cf08f440787b0b6a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-24T06:11:57.000Z",
      "arch": "x86_64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "700113cc761524a8d345f8a07436aa6b3eaccef59d6d69950733dd41c765db98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-24T06:11:01.000Z",
      "arch": "x86_64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "68bde2d2b2446fbdb0ddbb49b1433c317e2c301ebd7cbbc2302357e1921e7cc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-24T06:10:26.000Z",
      "arch": "x86_64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "c00a6e5ae8afe369bec8235e09f5b18ff7a46819999250a6b4a4cc6c415ab021",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-24T06:10:31.000Z",
      "arch": "x86_64",
      "commit": "a07ae3c6d992d936871e7239b57b8f3a47c759ed",
      "fileid": "d6afe766c1f72cfd3e380c2d151d729b7ee193c9fa2af2ef9d66c5a7d68f47ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inseefr/actions/runs/26353578337"
    }
  ]
}