Skip to content

Commit

Permalink
Update DESCRIPTION authors and fix bug in pixelXY_to_latlong()
Browse files Browse the repository at this point in the history
  • Loading branch information
flor14 committed Mar 13, 2024
1 parent 2a59164 commit 8e33774
Show file tree
Hide file tree
Showing 50 changed files with 100 additions and 63 deletions.
21 changes: 19 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,28 @@ Package: quadkeyr
Title: Tools for converting QuadKey-identified datasets (Microsoft's Bing Maps Tile System) into raster images
Version: 0.0.0.9000
Authors@R:
person(given = "Florencia",
c(person(given = "Florencia",
family = "D'Andrea",
email = "florencia.dandrea@gmail.com",
role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-0041-097X"))
comment = c(ORCID = "0000-0002-0041-097X")),
person(given = "Pilar",
family = "Fernandez",
email = "pilar.fernandez@wsu.edu",
role = c("aut"),
comment = c(ORCID = "0000-0001-8645-2267")),
person(given = "Maria Paula",
family = "Caldas",
role = c("rev"),
comment = c("Maria Paula Caldas reviewed the package (v. 0.0.99) for rOpenSci, see https://github.com/ropensci/software-review/issues/619")),
person(given = "Vincent",
family = "Van Hess",
role = c("rev"),
comment = c("Vincent Van Hess reviewed the package (v. 0.0.99) for rOpenSci, see https://github.com/ropensci/software-review/issues/619")),
person("CDC's Center for Forecasting and Outbreak Analytics",
comment = c("This project was made possible by cooperative agreement CDC-RFA-FT-23-0069 (grant # NU38FT000009-01-00) from the CDC's Center for Forecasting and Outbreak Analytics. Its contents are solely the responsibility of the authors and do not necessarily represent the official views of the Centers for Disease Control and Prevention."), role = c("fnd")),
person("MIDAS-NIH COVID-19 urgent grant program", role = c("fnd")),
person("Washington State University", role = c("cph")))
Description: '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.
License: MIT + file LICENSE
URL: https://fernandez-lab-wsu.github.io/quadkeyr/, https://github.com/Fernandez-Lab-WSU/quadkeyr
Expand Down
8 changes: 0 additions & 8 deletions R/grid_to_polygon.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ grid_to_polygon <- function(data) {
stop("The dataset should be of class 'sf'")
}

# Convert the QuadKeys to tile coordinates
# if that columns aren't present in the data
# if (!("tileX" %in% colnames(data) | "tileY" %in% colnames(data))) {
# message(paste(
# "The 'tileX' and 'tileY' columns have been generated",
# "using the 'quadkey_to_tileXY' function."
# ))

# In the case that one of this columns is not present,
# calculate both again.
data$tileX <- NA
Expand Down
2 changes: 1 addition & 1 deletion R/qk_to_latlong_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pixelXY_to_latlong <- function(pixelX, pixelY, zoom) {
}

# Check if pixelX and pixelY are within the valid range
max_pixel_value <- mapsize(zoom) - 1
max_pixel_value <- mapsize(zoom)
if (pixelX < 0 | pixelX > max_pixel_value |
pixelY < 0 | pixelY > max_pixel_value) {
stop(paste(
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/CODE_OF_CONDUCT.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/facebook_mobility_csvs_to_raster_files.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/quadkey_identified_data_to_raster.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/quadkey_to_sf_conversion.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/quadkey_visualization_app.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 27 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ articles:
quadkey_identified_data_to_raster: quadkey_identified_data_to_raster.html
quadkey_to_sf_conversion: quadkey_to_sf_conversion.html
quadkey_visualization_app: quadkey_visualization_app.html
last_built: 2024-03-05T16:33Z
last_built: 2024-03-13T14:01Z

2 changes: 1 addition & 1 deletion docs/reference/add_regular_polygon_grid.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/apply_weekly_lag.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/clip.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/complete_grid_for_polygons.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/create_qk_grid.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/create_stars_raster.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/data_provided.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/format_fb_data.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/get_qk_coord.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/get_regular_polygon_grid.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/get_tile_coord.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/grid_to_polygon.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ground_res.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/latlong_to_pixelXY.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/latlong_to_quadkey.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8e33774

Please sign in to comment.