当我选择一个日期时,我希望该月的最后日期的结果自动显示在“月的最后日期”文本框中。下面的代码正常工作,但是我想要如何在月份的最后日期文本框中获取上个月的第一个日期和最后一个日期。 enter image description here
> df2_wide
# A tibble: 10 x 6
Partner X2000 Partner1 X2001 Partner2 X2002
<fct> <int> <fct> <int> <fct> <int>
1 Russia 1710262 Russia 1733412 Russia 1497738
2 Italy 917604 Italy 956196 China 1018680
3 China 672549 China 646651 Italy 904222
4 Germany 546887 Germany 495533 Switzerland 773596
5 Switzerland 463171 Ukraine 490215 UAE 472277
6 Ukraine 254241 Switzerland 378243 Poland 320482
7 Netherlands 219459 UAE 330340 Iran 309882
8 UK 219420 UK 271586 Ukraine 291469
9 Iran 203270 Iran 208925 Germany 219732
10 USA 176198 Poland 164157 UK 131824