This function is to obtain an Shiny Widget to generates a Past year Selector on user interface.
This function belongs to script ui.R elements to easily creates user interfaces.
This function only have a parameter
id to be referenced in server.R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.