|
POST
|
I have an AGOL hosted view of Covid-19 case data that includes a zipcode polygon layer with a one to many join to a patient data table. This hosted view was created using the AGOL Analysis, Summarize Data, Join Features tool. The patient data table has one row for each patient and a field for their ZIPCode. https://services.arcgis.com/iCGWaR7ZHc5saRIl/arcgis/rest/services/Join_PatientZip_to_ZipCodes_Centroid/FeatureServer I'd like to tally how many cases are in each ZIPCode polygon and add this to a webmap. The data changes daily, so I'd like to do this as a view, not as a static layer. I can successfully return summary numbers in the REST API Query as shown below. The question is, how do I translate this into a URL string I can add as a data source to a webmap, where each zip code polygon has a count of total cases? It seems like I should be able to append a URL string to the REST endpoint given above (yes?). Something along the lines of: &groupByFieldsForStatistics="zipcode_text"&outStatistics="somethingelse" Apparently I don't know how to construct the "somethingelse" portion of the string properly. Is this the right approach? Thanks, Jay
... View more
05-26-2020
01:12 PM
|
0
|
6
|
5397
|
|
POST
|
Shockingly, I was able to edit the JSON item ID in a dashboard and completely swap in a new map to a dashboard, with no apparent ill effects. Love it when something works the first time!! Jay
... View more
05-15-2020
03:02 PM
|
5
|
1
|
17363
|
|
POST
|
Thanks Mark. Too bad that can't be used for symbolization, which would be very handy.
... View more
05-06-2020
07:53 AM
|
0
|
0
|
1009
|
|
IDEA
|
The inability to ADD fields to hosted feature layers on which you have created a dependent view using the JOIN Analysis tool is a big problem. The requirement to delete the hosted view, then re-create it, generates tedious re-building work in all dashboards that the layers are used in. Please provide some kind of workflow to make adding fields in this situation less problematic. One idea is to create a tool to allow easy re-pointing of dashboard components to a new URL (the new URL of the hosted view that has to be re-created). Alternatively, some way to "suspend" the hosted view, add fields to the hosted layer, then "refresh" the hosted view from the updated layer would also be great. Thanks. Jay
... View more
05-05-2020
10:09 AM
|
64
|
13
|
6338
|
|
POST
|
I have a point layer of zipcode centroids with an attribute value of COVID-19 cases for each zipcode. I am currently displaying counts per zipcode as "Counts and Amounts(size)" based on the value that attribute for each record. What I would like to do instead is symbolize by "% of total cases". Is there a way to do this without adding a field to the zipcode centroids that contains the # total cases (sum of all records)? In other words, is there a way (Arcade or otherwise) to utilize the total summed value of an attribute field in a table without using a second field that explicitly contains that total value?
... View more
05-05-2020
09:42 AM
|
0
|
2
|
1062
|
|
IDEA
|
We need an option in Ops Dashboard to force the axis labels to ALWAYS show for every category. The user needs to see the label for each category on a bar chart. OR allow designer to select both "Rotated" AND "Staggered" to allow more labels to fit.
... View more
05-01-2020
08:38 AM
|
19
|
0
|
974
|
|
POST
|
I've created a stand-alone hosted Table in AGOL (i.e. just tabular data, no spatial components) and would like to allow users to add records to this table. Do any of the ESRI web apps (Geoforms, etc.) have this functionality for hosted Tables? I belatedly remembered that Survey123 requires a Feature Service and so far as I can see won't work with just a Table.
... View more
04-15-2020
08:44 AM
|
2
|
1
|
1411
|
|
POST
|
Khaled, you are my hero today. Issue resolved! For others who might come across this question, I ended up going to the admin API, deleting all the text that is there by default and pasting in only what is shown in this screen shot: "reportdt" is my field for the datetime the record was entered in the table. "name" is another of my fields that was suitable for grouping by. Clicked the Update Layer Definition button and got a confirmation message. The view layer now shows only the most recent record in the table. Totally awesome, thanks again Khaled! Jay
... View more
04-10-2020
01:28 PM
|
2
|
2
|
7630
|
|
POST
|
Making some progress - I didn't realize I could just put in only the portion I want to change. So I cleared the box and just put in this: { "viewLayerDefinition" : { "sourceServiceName" : "CaseTable", "sourceLayerId" : 0, "sourceId" : 1033, "sourceLayerFields" : "*", "topFilter" : { "orderByFields" : "reportdt ASC", "topCount" : 1 } } } That change actually "stuck", which is progress. Now when I go back to the admin api it looks like this: I'm still not getting filtering in the view layer though. I still see all the records, not just the top one. Jay
... View more
04-10-2020
11:29 AM
|
0
|
7
|
7630
|
|
POST
|
Khaled, Thansk for responding. When I open the admin api for the view layer I want to restrict to the most recently updated row of the data I see this: I attempt to update the ViewLayerDefinition like as shown in yellow highlight: When I click Update Layer Definition it looks like it worked, but if I look at the ViewLayer data there is no filtering occurring - ALL the records are still shown. I also tried changing the Format to JSON and when I click UPDATE LAYER DEFINITION button I get a good-looking message: { "success" : true } If I go back to look at the admin api again, it appears that my changes didn't stick: Any suggestions where I'm going wrong? Thanks, Jay
... View more
04-10-2020
10:38 AM
|
0
|
9
|
7630
|
|
POST
|
Khaled, Can you take a look at this related question? https://community.esri.com/message/920629-update-hosted-layer-view-definition-w-topfilter-to-show-only-most-recent-record Thanks. Jay
... View more
04-10-2020
09:03 AM
|
0
|
0
|
1120
|
|
POST
|
I have a hosted table with many records and would like to create a view layer from this that only shows the most RECENT record. I've created a view layer and attempted to update the view definition using the TOPFILTER via the admin API. Original Layer Definition: { "adminLayerInfo" : { "tableName" : "db_4176.user_4176.CASES_TABLE_CASES_TABLE", "geometryField" : null, "xssTrustedFields" : "", "viewLayerDefinition" : { "sourceServiceName" : "Cases_Table", "sourceLayerId" : 0, "sourceId" : 984, "sourceLayerFields" : "*" } }, "id" : 0, "name" : "Cases_Table", "type" : "Table", "isView" : true, "isUpdatableView" : true, "sourceSchemaChangesAllowed" : true, "displayField" : "", "description" : "", "copyrightText" : "", "defaultVisibility" : true, ETC... I think I need to insert something like the following, but can't get it to work successfully: "viewLayerDefinition" : { "topFilter" : { "orderByFields" : "reportdt ASC", "topCount" : 1 } } Does anyone have an example of successfully using topFilter (or some other method) to filter a layer view down to just the most recent record? This is in support of a COVID-19 project. Thanks Jay
... View more
04-07-2020
08:47 AM
|
0
|
19
|
13228
|
|
POST
|
I'd like to create a serial chart in Dashboard that shows a rolling average - showing the average change in the total COVID-19 cases over the past 7 days. Is there any way to do this from a simple table of cases, where each row in the table contains the date and a case count? Here is an example of the result I'd like to end up with (this is from NY Times):
... View more
04-01-2020
01:56 PM
|
3
|
1
|
2336
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-16-2020 03:40 PM | |
| 1 | 03-01-2019 01:46 PM | |
| 1 | 07-16-2019 08:13 AM | |
| 1 | 02-03-2022 02:20 PM | |
| 1 | 02-02-2022 07:07 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-13-2023
04:51 PM
|