Skip to content

Commit

Permalink
Merge pull request #124 from Hong-Kong-Districts-Info/feat/20n21-coll…
Browse files Browse the repository at this point in the history
…ision-update

Feat: Add column information of 2020 and 2021 collision data
  • Loading branch information
KHwong12 authored Sep 18, 2024
2 parents 8ae0b5d + d738adc commit db16ff2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file modified inst/app/data/data-manipulated/hk_collisions_valid_sf.gpkg
Binary file not shown.
Binary file modified inst/app/data/hk_collisions.fst
Binary file not shown.
2 changes: 2 additions & 0 deletions inst/app/modules/manipulate_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ hk_collisions_valid <- filter(hk_collisions_join, !is.na(latitude) & !is.na(long
# https://rstudio.github.io/leaflet/projections.html
hk_collisions_valid_sf <- st_as_sf(x = hk_collisions_valid, coords = c("longitude", "latitude"), crs = 4326, remove = FALSE)

# Overwrite the output once updated
# st_write(hk_collisions_valid_sf, "./inst/app/data/data-manipulated/hk_collisions_valid_sf.gpkg", append = FALSE)

## ------- Pedestrian hot zone data ---------

Expand Down

0 comments on commit db16ff2

Please sign in to comment.