
Thequadkeyr R package presents a comprehensive toolkittailored for generating raster images from Quadkey-Identified datawithinMicrosoft’sBing Maps Tile System. Designed to integrate Quadkey-Identified datainto R workflows, this package facilitates the creation of QuadKey gridsand raster images and introduces specialized functions for theprocessing ofMeta Mobilitydata, previously referred to as Facebook mobility data.
Tile maps divide the Earth’s surface into a grid of tiles, with eachtile corresponding to a specific geographic area at various zoomlevels.
QuadKeys represent a location on a map by encoding its hierarchicalspatial position as a sequence of characters. They provide an efficientmethod to address and retrieve specific map tiles, facilitating rapiddisplay within mapping applications.

The QuadKey of any tile starts with the QuadKey of its parent tile (thecontaining tile at the previous level). Image extracted from Microsoft’sBing Maps Tile System webpage.
The goal ofquadkeyr is to:
quadkeyr provides functions to convert a QuadKey to asf POINT data.frame orsf POLYGON data.frame.Additionally, it offers all the R functions described in theofficialdocumentation for converting QuadKeys to and from tiles, pixels, andgeographic coordinates.
stars raster. You can also directly convert QuadKeys in adata.frame column into ansf POLYGON data.frame.
.csv files into.tif files by day and hourreported.
quadkeyrFor the latest development version ofquadkeyr:
install.packages("quadkeyr",repos ="https://ropensci.r-universe.dev")You can install the development version ofquadkeyr fromGitHub with:
# install.packages("remotes")remotes::install_github("ropensci/quadkeyr")You can install the latest version ofquadkeyr from CRANwith:
install.packages("quadkeyr")Please note that this package is released with aContributor Code ofConduct. By contributing to this project, you agree to abide by itsterms.
If you’d like to contribute to this project, please follow thecontributingguidelines
slippymath: Slippy Map Tile Toolspyquadkey2python-quadkeymercantilegeo-quadkey-rsquadkey-tilemath