Creating a USA map with Shiny

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Creating a USA map with Shiny


I am new here, my name is Giulio.
I would like to create a map of the USA over 10 years using the package Shiny, but I have no idea of how to do it...

My database has several variables:

Observation Number; State; Year; packs; Avg. Price; Total Taxes

The map should display the Average Price of a pack of cigarettes for every state over the time.

I've searched a lot on Internet but I haven't found anything useful, has anyone an idea of the code i could use?

Thanks a lot!!