Hi all, I created an app linked to the NYT GitHub covid data by county, which shows total cases and deaths per day. I created a couple combo charts with modifiers so that I could figure out how to get daily case totals and then a 7-day moving average of daily case totals.
I'm trying to use set analysis to chart specific fips codes so I can plot multiple counties' 7-day averages on one chart. Once I used the modifiers for difference and then moving average, I copied and pasted the "output expressions" to create new charts with them. The 7-day average for this data is the expression below:
The field I want to use set analysis for is "fips" and an example fips code I want to use is "24031". Let me know if you have any ideas how to use set analysis on this expression! I have tried nesting it in different locations in the expression to no avail.
Hi, any ideas on creating this set expression? Or perhaps a way to make a “difference” and “moving average” field via the load script for a field that reports totals through xx date? That would potentially be easier to apply set analysis; I just don’t know how to do it.
Yes, please see the attached qvf. I'm trying to add the set analysis to the two charts on the third sheet, Counties Daily, using the fips codes in the table on that sheet (when default bookmark is applied). Does that help show what I'm trying to see? The two fields are cases and deaths that are being summed by fips code.