- Author: Andy Lyons
I recently attended a really useful ANR training from the office of Program Planning and Evaluation (PPE) on needs assessment. Incorporating needs assessments into research and extension makes a lot of sense for many reasons. We all want to address issues and problems that are significant and pressing, and develop programs that are effective. A needs assessment can help flush out the challenges in our areas, prioritize needs, and build relationships with key stakeholders. As stewards of public resources, we also want our programs to be as efficient as possible. ANR expects all program staff to do needs assessments as part of program development, and the PPE has put together a great set of training and resources.
How GIS can be useful in a Needs Assessment
During the workshop, it was also exciting to hear how GIS can be a useful tool in many stages of a needs assessment. For example:
Sampling
A needs assessment often requires talking to people in the program area, which can be daunting because we work with a lot of people. GIS maps can sometimes provide a sampling frame, in other words a master list of all the potential people one might want to talk to. For example Margaret Lloyd, Small Farms Advisor for Sacramento and Yolo Counties, described how a Google Map of strawberry farm stalls in Sacramento County was the starting point for a needs assessment tour of strawberry growers. In other cases, you may get a spreadsheet of growers' addresses in a county. These can be turned to points on a map with GIS using a process called geocoding. This can be particularly helpful to an Advisor who is new to an area.
If there are more stakeholders than one can personally contact (often the case), taking a sub-sample may be a practical necessity. A simple random sample is easy to do, but a GIS also allows spatial sampling. This could be useful, for example, if you want to ensure an even geographic distribution across the county, or a distribution across other units, such as watersheds, municipalities, school districts, etc. Even if sampling is more opportunistic (e.g., meeting attendees), a map can show the distribution of the people you talked to, so you can tell if any areas were over or under represented.
Visualizing Results
Maps from a GIS can be an effective way to communicate the results of a needs assessment. Whether a simple map in a report, or an interactive web map, maps can show a lot of information at once by manipulating the size, shape, and color of symbols. Geographic patterns jump out in a way you don't get in a table or regression coefficients.
Data Fusion
With a little more work, the data you collect can be enriched with other useful datasets, such as census or environmental data. Imagine for example displaying the results of an email survey in a map form, overlaid for example with a map layer showing food security, or climate vulnerability. This type of fusion is helpful not only for understanding the nitty-gritty of the challenge, but also opportunities for extension and collaboration.
Building a Foundation for Innovation
Incorporating GIS in a needs assessment may be a little more work for those who aren't familiar with the technology (but see the services offered by IGIS below), however this investment can pave the way for all sorts of additional outreach and analysis. Putting your baseline data in a GIS simplifies ongoing monitoring and tracking, so you can see if your efforts are working. It also enables further technical analyses, such as testing spatially explicit models of a process, which can help you publish your work. On the non-technical side, getting your data into GIS formats dramatically simplifies the process of developing innovative communication tools down the road, such as story maps or web GIS.
IGIS Services
- Author: Shane Feirer
Hello All,
For the past several years IGIS has attended the ESRI User Conference in San Diego and we have come back with many new and exciting tools that UCANR could use in our daily work. This year was no different, at the first day of the conference (plenary session) ESRI highlighted many of their new tools and software and they presented several use cases of their software. I have found videos of plenary talks from the first day of the conference, you can watch these videos and get a feel for some of the uses for this powerful software that we at UCANR have access to. Please watch these talks and contact IGIS if you would like to know how to get access to and use these tools in your work.
- Author: Andy Lyons
Calling all water resource managers and researchers! Do you have spatial data of water stocks, water infrastructure, or water usage? Do you have a story to go with it? Then you have everything you need to submit a map idea for an exciting open-source atlas project.
Guerrilla Cartography, the non-profit cartography group that put together the stunning Food: An Atlas, recently announced another call-for-maps for their second big project: Water: An Atlas. If you haven't heard of this group, Guerrilla Cartography is an Oakland-based consortium of cartographers that believe heavily in the power of maps to tell stories, the art and science of cartography, and the power of collaboration between cartographers and researchers. For each atlas project, they pair volunteer cartographers with researchers to turn basic maps into beautiful works of art, then crowd-fund to print the atlases which are also available for free as PDFs. See for example how they portrayed California's almond production in the 2013 Food Atlas.
The water theme is certainly topical, as drought, ground water depletion, and sea level rise are major issues throughout the western US and around the world. Most of us notice water issues when there is either too much or too little water right in front of us. Maps are uniquely suited to convey the spatial and temporal scales of water, and the atlases produced by Guerrilla Cartography are as artistic as they are informative. I can't wait to see the stories revealed through maps when the atlas comes out next spring. The deadline to submit an idea for a map is September 12, 2016, so hop on it water researchers!
- Author: Andy Lyons
I had a great time at last week's three-day Apps-for-Ag hackathon, which was hosted by ANR, the California State Fair, and the City of Sacramento. Although I've participated in an open science CodeFest before at NCEAS, this was my first time at a competitive hackathon where teams compete for cash prizes and start-up support. On the first day, we heard about some of the key challenges facing agriculture in California, including Asian Citrus Psyllid (ACP), and how technology may be able play a role in addressing those challenges. Some participants also came with their own challenges, and spoke about those.
The organizers of the hackathon did an amazing job assembling a great pool of resource persons, including Bobby Jones the Chief Data Officer from USDA, two representatives from Amazon Web Services who brought a couple of Internet-of-Things starter kits, Neil McRoberts who is an expert on ACP, and several veterans of previous hackathons.
In the end, four teams formed, and in less than 48 hours developed their ideas into a product and presented their work to a panel of judges at the State Fair. All four teams choose to develop an app for a mobile device, although the hackathon guidelines would have allowed other outputs including websites or desktop tools. It was interesting to watch the projects evolve from the broad sketches teams discussed on Friday, to final products on Sunday. The presentations often included marketing plans, existing product research, monetization strategies, etc. I was struck how online spatial databases and visualization were central to all of the apps developed. The judges questioned the teams about both technical and practical issues, including the economic viability of some of business models, policy issues including privacy, and bandwidth requirements. A description of the award winning apps can be found here.
Judges at the Apps for Ag Hackathon: Rob Trice, Glenda Humiston, Bobby Jones, and Tom Andriola
I came away from the hackathon with a few impressions. First, although the technology stack each team adopted varied, they all integrated spatial databases from the cloud with geolocation services on mobile devices. Half of the teams also used sensors connected to the Internet, and half sought to foster online communities. The diversity of applications developed demonstrates the power of this suite of tools to meet an enormous number of opportunities in agriculture and natural resource management.
Second, although hackathons have been known to produce wildly successful apps and even start-ups, I suspect the most significant and enduring outcome of many hackathons may not be the apps themselves, but the connections made, the knowledge shared, and the resources mobilized (i.e., people, data, & tools). Not only did everyone who participated meet some new people, the nature of the challenges required groups with diverse skillsets to work together. All of the challenges needed the skills of developers, designers, domain specialists, and business development experts. No one has all these skills, but everyone came away with a little more appreciation of the diversity of roles needed for a successful project, and a little more experience communicating across fields. We also all learned some new things about agriculture and technology, as well as available resources out there from datasets to hardware to cloud based computational platforms.
Finally, the spirit of entrepreneurialism was very real, acting like a high-octane fuel that powers engines of creativity and rapid development. The prize money, the competitive spirit, the rules of contest, and the alluring possibility of perhaps establishing a successful start-up were clearly incentives that gave teams the extra energy to work late into the night. However it also occurred to me that the hackathon spirit may also act as a filter on what can be achieved in a hackathon. Not all important problems can be digested in such a short period, and not all technology solutions to important problems are easily monetizable, which is one of the criteria hackathon teams may use to select projects. To tackle complex challenges like ACP, domain specialists could perhaps scope out the technology needs in greater detail before the hackathon, organizers could incentivize teams to work on those challenges, and conference calls could be pre-arranged with targeted end-users who may be a small set of scientists or managers.
The Apps-for-Ag hackathon series is a great collaboration between the ag industry, technology companies, government agencies at all levels, and academic institutions like ANR. I can't wait to see what see what challenges will be tackled next time.
- Author: Andy Lyons
Bay area R users were lucky to have to have the annual useR! conference in their back yard this week. Stanford hosted this year's conference, which is the largest R meeting in the country featuring four days of workshops, keynotes, and presentations. The popularity of this event is evident not only by the more than 700 attendees, but also by the fact that these 700 were the lucky ones! Conference registration maxed out weeks before the registration deadline and many others had to be turned away.
I attended a half-day workshop on Effective Shiny Programming by Joe Cheng, the CTO of RStudio and creator of Shiny. If you haven't already heard of Shiny, this amazing package allows R users to turn their R scripts into an application complete with a GUI that can be either run locally or online. As one of the attendees aptly remarked during the Q&A session, Shiny has been a 'game changer' for the R community. I use Shiny to provide a GUI for certain functions in my R package T-LoCoH that analyzes animal movement.
In his presentation, Cheng described conceptually how reactive programming works in Shiny. Shiny's default behavior is to automatically re-run scripts any time the user changes an input value through something like a slider. This works fine for simple tasks, but can slow down an app visibly and unnecessarily if data crunching takes more than a millisecond. Reactive programming lets you control when things are updated in a Shiny app.
Cheng explained how and when to use the main two types of objects that control reactivity. 'Reactive' objects (e.g., created with reactive(), reactiveValue(), reactiveEvent()) return values, are cached, and lazy (only called when needed). 'Observers', on the other hand, are eager (run when programmed to, even if they're not necessary for example if an output is not visible), never cached, and don't return values. Unless we need to precisely control when something is run, Cheng cautioned, we should use reactive objects which gives Shiny the power to decide when a value needs to be updated (and Shiny is generally better at doing this than programmers, especially as an app evolves). Observers are often used to respond to 'events' such as a button click. For more info on reactive programming, see 'How to customize reactions' in RStudio's excellent Shiny tutorial.
Cheng also gave a preview of some new features in the next release of Shiny, which should be out later this summer. One of the most exciting new features is the ability to record the 'state' of a Shiny app within the URL (so for example you can restore the position of sliders and other inputs). There will also be improved security for making database connections, and a new function (req()) which will make it a lot easier to check if all the required inputs from the user have been entered.
In a future post, I'll discuss the use of Shiny as a web GIS tool, how techniques like reactive programming offer capabilities to create powerful and flexible web applications, and when you might want to use a Shiny application instead of a more packaged web GIS tool like ArcGIS Online or CartoDB.