Pablo-source / Shiny-app-using-COVID-data

Basic bootstrap shiny app including leaflet maps, plots and dt tables. Updating app in 2024 with data from CSSEGITandData repo
3 stars 1 forks source link

Initialize environment for this project - fix Lat Long values #14

Closed Pablo-source closed 3 weeks ago

Pablo-source commented 3 weeks ago

Using {renv} take a snapshop of this existing Shiny-app-using-COVID-data project. Using ren::init() and then taking a snapshop with renv::snapshot() function

This will ensure we load the right packages and the right version all the time whilst working on this project. This isolates the packages installed on this specific project.

After running renv:init() it writtes a lock file. including all packages required for this specific project

Pablo-source commented 3 weeks ago

ALL countries lat and long as well namig discrepancies FIXED.

I will create the renv this afternoon !!! fixed all country lat and long issues stead. I wanted to make sure the back end data included all the right lat and long information. Used library(tidygeocoder) to geocode each country names and to obtain its lat and long values using several APIs calls.

Pablo-source commented 3 weeks ago

Back end data has been fixed to include correct country names as well as their corresponding Latitude and Longitude values. Using {tidygeocode} library to geocode each country names and to obtain its lat and long values performing several APIs calls for each batch of country names