如何在小册子r闪亮的地图上获得所需的计数?

时间:2019-06-19 19:03:12

标签: r shiny leaflet

目前,我在地图上的悬停数据计算按区域分组的每个类别。问题是,当一个城市有多个区域时。因此,悬停数据仅在计数中包含一个区域,而不是该城市的所有区域,从而导致某些城市的总和不正确。

* @param string $action     An action to be performed within QuickBooks (see the qbXML and QuickBooks SDK documentation, i.e.: "CustomerAdd", "InvoiceAdd", "CustomerMod", etc.)
* @param mixed $ident           A unique identifier (if required) for a record being operated on (i.e. if you're doing a "CustomerAdd", you'd probaly put a unique customer ID number here, so you're SOAP handler function knows which customer it is supposed to add)
* @param integer $priority      The priority of the update (higher priority actions will be pushed to QuickBooks before lower priority actions)
* @param array $extra           If you need to make additional bits of data available to your request/response functions, you can pass an array of extra data here
* @param string $user           The username of the QuickBooks Web Connector user this item should be queued for 
* @param boolean $replace       Whether or not to replace any other currently queued entries with the same action/ident

尽管我有颜色尺寸,有没有办法让它按城市分组?

所以,我想要类似sum(filter(count_map,CITY_STATE%in%city_on_hover)$ Filled)的东西,但是显然带有传单的语法,没有办法让city_on_hover起作用。有什么可以自定义的方式可以做我想做的事,还是有一种更简单的方法?

0 个答案:

没有答案