Package: quadkeyr 0.1.0

Florencia DAndrea

quadkeyr: Tools for converting QuadKey-identified datasets (Microsoft's Bing Maps Tile System) into raster images and analyzing Meta (Facebook) Mobility Data.

'Quadkeyr' functions generate raster images based on QuadKey-identified data, facilitating efficient integration of Tile Maps data into R workflows. In particular, 'Quadkeyr' provides support to process and analyze Facebook mobility datasets within the R environment.

Authors:Florencia D'Andrea [aut, cre], Pilar Fernandez [aut], Maria Paula Caldas [rev], Vincent van Hees [rev], CDC's Center for Forecasting and Outbreak Analytics [fnd], MIDAS-NIH COVID-19 urgent grant program [fnd], Paul G. Allen School for Global Health, Washington State University [cph]

quadkeyr_0.1.0.tar.gz
quadkeyr_0.1.0.zip(r-4.5)quadkeyr_0.1.0.zip(r-4.4)quadkeyr_0.1.0.zip(r-4.3)
quadkeyr_0.1.0.tgz(r-4.4-any)quadkeyr_0.1.0.tgz(r-4.3-any)
quadkeyr_0.1.0.tar.gz(r-4.5-noble)quadkeyr_0.1.0.tar.gz(r-4.4-noble)
quadkeyr_0.1.0.tgz(r-4.4-emscripten)quadkeyr_0.1.0.tgz(r-4.3-emscripten)
quadkeyr.pdf |quadkeyr.html
quadkeyr/json (API)
NEWS

# Install 'quadkeyr' in R:
install.packages('quadkeyr', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropensci/quadkeyr/issues

Pkgdown site:https://docs.ropensci.org

On CRAN:

geospatialquadkeyrastertilemap

5.49 score 13 stars 7 scripts 26 exports 65 dependencies

Last updated 10 months agofrom:1751b95f0d (on main). Checks:1 OK, 6 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKDec 27 2024
R-4.5-winNOTEDec 27 2024
R-4.5-linuxNOTEDec 27 2024
R-4.4-winNOTEDec 27 2024
R-4.4-macNOTEDec 27 2024
R-4.3-winNOTEDec 27 2024
R-4.3-macNOTEDec 27 2024

Exports:add_regular_polygon_gridapply_weekly_lagcreate_qk_gridcreate_stars_rasterformat_fb_dataget_qk_coordget_regular_polygon_gridgrid_to_polygonground_reslatlong_to_pixelXYlatlong_to_quadkeymapscalemapsizemissing_combinationspixelXY_to_latlongpixelXY_to_tileXYpolygon_to_rasterqkmap_appquadkey_df_to_polygonquadkey_to_latlongquadkey_to_polygonquadkey_to_tileXYread_fb_mobility_filesregular_qk_gridtileXY_to_pixelXYtileXY_to_quadkey

Dependencies:abindbase64encbitbit64bslibcachemclassclassIntclicliprcommonmarkcpp11crayonDBIdigestdplyre1071fansifastmapfontawesomefsgenericsgluehmshtmltoolshttpuvjquerylibjsonliteKernSmoothlaterlifecyclelubridatemagrittrMASSmemoisemimepillarpkgconfigprettyunitsprogresspromisesproxypurrrR6rappdirsRcppreadrrlangs2sasssfshinysourcetoolsstarstibbletidyselecttimechangetzdbunitsutf8vctrsvroomwithrwkxtable

Converting Meta (Facebook) Mobility QuadKey-identified Datasets into Raster Files

Rendered fromfacebook_mobility_csvs_to_raster_files.Rmdusingknitr::rmarkdownon Dec 27 2024.

Last update: 2024-03-20
Started: 2024-02-11

From a QuadKey to a Simple Features data.frame and other conversions

Rendered fromquadkey_to_sf_conversion.Rmdusingknitr::rmarkdownon Dec 27 2024.

Last update: 2024-03-20
Started: 2024-02-11

Generating a Raster Image from Quadkey-Identified Data

Rendered fromquadkey_identified_data_to_raster.Rmdusingknitr::rmarkdownon Dec 27 2024.

Last update: 2024-03-20
Started: 2024-02-11

QuadKey Visualization App

Rendered fromquadkey_visualization_app.Rmdusingknitr::rmarkdownon Dec 27 2024.

Last update: 2024-03-15
Started: 2024-02-11

Readme and manuals

Help Manual

Help pageTopics
Add the rows needed to complete a regular QuadKey polygon grid derived from the bounding box of the 'quadkey' column of a data.frame.add_regular_polygon_grid
Apply a 7 day lag to the variable 'n_crisis'apply_weekly_lag
Create grid of QuadKeys for a particular zoom or level of detail.create_qk_grid
Create a 'stars' rastercreate_stars_raster
Format the Facebook mobility dataformat_fb_data
Get lat/long coordinates from the QuadKeyget_qk_coord
Get regular QuadKey polygon grid derived from the bounding box of the 'quadkey' column of a data.frame.get_regular_polygon_grid
Convert a grid of QuadKeys to square polygonsgrid_to_polygon
Ground resolution at a specified latitude and zoom levelground_res
Convert lat/long coordinates to pixel XY coordinateslatlong_to_pixelXY
Convert latitude/longitude coordinates into QuadKeyslatlong_to_quadkey
Map scale (1 : N)mapscale
Map size in pixelsmapsize
Detect dates and hours missing in filenamesmissing_combinations
Convert pixel XY coordinatess into lat/long coordinates.pixelXY_to_latlong
Convert pixel XY coordinates into tile XY coordinatespixelXY_to_tileXY
Create and save raster images for different dates and timespolygon_to_raster
Launch the Shiny Appqkmap_app
Convert data.frame with 'quadkey' column to a 'sf' POLYGON data.framequadkey_df_to_polygon
Convert a string of Quadkey numbers to lat/long coordinatesquadkey_to_latlong
Convert a QuadKey into a square polygonquadkey_to_polygon
Convert a QuadKey into tile XY coordinates.quadkey_to_tileXY
Read all the .csv files in a folder and format the data.read_fb_mobility_files
Convert a incomplete QuadKey 'sf' POINT data.frame into a regular grid.regular_qk_grid
Convert tile XY coordinates into pixel XY coordinatestileXY_to_pixelXY
Convert tile XY coordinates into a QuadKey.tileXY_to_quadkey