Showing posts with label apps. Show all posts
Showing posts with label apps. Show all posts

Monday, February 25, 2019

You Can Count on Me

I don’t remember where I first read about these programmable buttons from Amazon. Sure, many of us have seen the “Dash” versions you can get which allow you to place an order at the click of a button, but there is potential for more. And while I’ll let your own minds wander to all of the possibilities, I just want to talk about one: using these as data collection devices.

You can configure each button to communicate over wifi. It can receive and transmit data related to a single, double, or long click. Slip one in your pocket. What are the kinds of things you might like to track? How many minutes in a class period the teacher is talking…or how many boys, girls, or non-binary students s/he calls on? What if you gave one to a student and asked him/her to push a button every time an adult in the building greeted him or her by name? We could even go bigger. What if you put a set in the office with a different question each week and asked visitors to respond?

I had these and other questions in mind. So, last summer, we ordered one of these Amazon Internet of Things (IoT) Buttons for our office…and since then, it’s been sitting in its little box, staring at me, waiting for its opportunity to be useful. When I found myself with a gift of time this week, I decided it was finally the moment to program the little beast. Now it’s time to share my learning with you, in case you want to jump in on this, too.

My only disclaimer here is that what I know about coding would fit in a thimble. There will be, no doubt, more elegant solutions to what I implemented—and if you know them, I hope that you’ll share. Here are the resources on which I relied most heavily:
  • Caroline Dunn has a great video on YouTube to help you set up your button and get you started. The code and IFTTT recipes have some useful background, but they did not work for me “as is.”
  • This code from Joseph Guerra, however, works like a dream. The only limitation is that it shows you how to capture information from a single click—not the double or long-click (if you want to use all three options with one button).
  • To overcome this last issue, I was able to use some code from here. I still had to figure out where to place it…but I did. And you can, too.
You will need
I won’t get into the nitty-gritty here with the button set up—watch Caroline’s video or hit teh Googles for some additional support. Basically, you’ll install the apps on your mobile device and use those to configure the button to a designated wifi source and select its first task. 

Next, set up your IFTTT (If This, Then That) recipes. You'll need three: one for a single click, one for a double click, and one for a long click. Use the Webhooks app as the trigger (If then...) and the "add a row" option from Google Sheets (...then that) to capture the type of click. Even though you set this stuff up first, it's really the second part of what happens when the button gets pushed. But you need some information from this to add to the first part of process.

So let's take care of that. Log into your Amazon AWS account and find the Lambda app. This is where your code for the button lives. There's some placeholder stuff there from when you first configured the button using the app on your smartphone. Delete that and replace it with the stuff from Joseph Guerra. You'll be all set for one type of click (single, double, or long). If you want to have the button collect two or all three types of clicks, modify the code so it looks like the sample below. Note that you're just copying the stuff for your first click type (e.g., Single) and pasting it in two more times for Double and Long. Replace the words "Single" with the other clicks.


That's it. You can do it. I did---and I didn't even have this to get started. Keep in mind that you can modify your code here to associate different names with your IFTTT recipes (applets). If you don't want single, double, long showing in your spreadsheet, you can have yes, no, maybe or thumbs up and thumbs down. Or start and stop. The possibilities might not be endless, but the variations are completely up to you.

What I like about the button is not just its options for simplified, automated, and "mobile" data collection, but also the anonymous nature of it. The Google Sheet only captures a timestamp and click type (or whatever word you tell it). When I handed the button off to a principal to use in his building, I told him that whatever shows up in the spreadsheet is all his---I don't need to know who he gave the button to or what the clicks represent or what questions he had in mind. As long as he can extract what meaning he needs, then that's all that matters. And even if the spreadsheet was public, the data won't mean anything to anyone who doesn't know what the various clicks represent.

Now that I survived my first foray into this world, I'm ready to go further. We ordered 19 more of the buttons and I will get started this week getting those programmed and ready to check out to principals. I'm excited to see all the different ways that they use these to gather information in their buildings.

What will you do with yours?

Saturday, December 1, 2012

The Shaggy Dog

Stop me if you've heard this one: Excel, Web Apps, and GoogleDocs walk into a bar...

Okay, maybe that isn't the basis for the story I'm about to tell, but I was nearly driven to drink by these three, um, tools.

As part of my day job, I work with a small database of resources. Until recently, the database has lived on a Moodle site---a long and painful sidebar to this story, which I will spare you. As our story really begins, this database is downloaded into a csv file and begins its new life as a spreadsheet. The goal is to webify this content and make it interactive---all without the expertise (and expense) of a developer. We do have the ability at our workplace to have a table on the web with alphanumeric sorting---but no filtering. This is great for things that you only need to sort on one attribute (and for a small dataset). My pseudo-database didn't fit these criteria.

Part One: The Easy Way Out...Or Not
I tried using the Excel Web App first. I really wanted this to work for two reasons. First, it would be awesome to have the first idea work and be able to end the story at this point. The other reason was simply an IT one: in my workplace, it will be a lot simpler to argue to embed a Microsoft product vs. a third-party app. So, I converted my spreadsheet to a table, uploaded it to SkyDrive, and if you know what you're doing, you can filter the results using the app. But this just wasn't going to work. By the time you built in enough directions to navigate the filters, a novice user would probably just give up on the damned thing. Plus, you could only filter one column, so I was no better off than just the simple sorting we already had.

Part Two: Back to the Drawing Board
I went back to Excel to see if I could get a handle on the some of the mechanics (formulas) I would need to build in the filtering. It's simple enough to build some data validation (dropdown) menus that allow a user to choose. But I had to learn how to generate a dynamic list from these choices. It's one thing to use INDEX and MATCH to find one item on a spreadsheet...but how do you use it to find all of the items for a set of criteria? A list that will change with every possible combination of input from the user? Yikes. I did find the answer to this and built a little interactive form. It worked great offline, but I couldn't move it onto the web, because the Excel web app doesn't support data validation. But hey, Google does!

Part Three: A Move to the Dark Side
Let's give Google Spreadsheets a crack at things, eh? I uploaded the workbook..even figured out how to make the array formulas work. The dropdown menus were functional. But then, Defeat was snatched from the jaws of Victory. You see, the dropdown feature only works in the spreadsheet---it doesn't work if you embed it in another webpage. Argh. So, I decided to build a Google Form for the input and connect that with the spreadsheet to generate the dynamic lists of resources. Um, no. Again, it worked great in the live worksheet, but didn't make a bit of difference for the embedded one. Le sigh.

Part Four: Gee, It's Good to Be Back Home Again
I'm starting to get pissed. Twice now, I've gotten down to the very last piece of the puzzle, only to find that it doesn't exist. But I'm also a bit more focused on what needs to happen. Whatever gets developed needs to (a) live on SkyDrive, (b) be intuitive for the user (c) not need data validation or VBA. So, I'm back to square one with Excel, begging my old lover to take me back and teach me some new tricks. I ended up building some IF statements based on whether the user placed an "X" beside a choice and used that for the input. The only final piece was to use the HYPERLINK formula to piece together the title and location of a resource from the spreadsheet with the data into the list for the user, so they could just click-n-go.

Part Five: It's Alive!
After some final formatting, I uploaded my Frankenspreadsheet to SkyDrive, and it worked. I suppressed my urge to run around the office like Colin Clive in Frankenstein and scream "It's Alive! It's Ah-liiii-ive!" I admit that it's a little clunky, but it meets the criteria it has to satisfy.

I've mocked up a sample using different a different dataset for you to see (without hyperlinks, since these refer to documents instead of webpages). If you're viewing this post via RSS, you'll have to click through to the original post to see the embedded spreadsheet.I'll give you the background on building this in the next post. For now, any suggestions for improvement?


To play with the spreadsheet, place an "X" beside one item in the list of Units and an "X" beside one item underneath Category.

Saturday, November 17, 2012

A New Spin on Heat Maps in Excel


There are lots of heat maps out there. We saw many different versions during the election cycle---everything from campaign financing to election results. These visualizations use a scale of color values to communicate a range of data. Some vary the intensity of a single color value to represent a variable (e.g., the greater the population in an area, the darker the color). Others use two values to present a comparison (e.g., increases and decreases to population over a given time period).

Excel does not have a heat map option in its charts; however, you can use conditional formatting and some other design options to create a really fine looking visualization.

One of the graphics included with Stephen Few's workshop presentation was this one:

Market Segment from Stephen Few's Now You See It

I was really taken with it. It's a simple layout, but packs a punch in terms of showing the data. It was the perfect fit for a data set I was wrangling. Take a look at my version (there is an interactive version at the end of this post):


What you're looking at is some data about the different areas of the arts (dance, music, theatre, and visual arts) for three grade bands (elementary, middle, and high school) over three years (2010, 2011, 2012) for districts in Washington state. Please note that although this data is public, it is only available to those who ask. Therefore, I have made some modifications to what I am sharing here: no districts are identified by name and I am only including ~50 districts.

Never underestimate the power of pencil and paper when planning a visualization. Using the version from the workshop as a model, I sketched the layout for this, as well as how to fill the cells. I decided not to use number of students as a factor, as that would skew things based on the size of the district. Instead, I wanted to look at each arts area as a portion of overall enrollment in the arts. In other words, what percent of elementary students in a district had access to instruction in dance vs. music vs. theatre vs. visual arts?

There is a single color scale. The greater (darker) the intensity, the greater the percentage for that area of a grade band. Blank spaces represent a lack of data. This might be due to no instruction offered in that area, but it could also mean that we just don't have any data from the district. Don't read too much into those.

Even though I used a single color (purple) for this visualization, it is still simple to look at gains and losses over time. For example, for District A, we can see that at the middle school, music instruction has decreased over the last three years...and the percentage of students involved with the visual arts has increased.


Similarly, I can see some big trends when viewing the entire data set at once.

Notice how popular Music is at elementary? There are a lot of dark squares in that second column. While not as strong, there is a definite preference at the high school level for visual arts, based on what I see in the last column.

The benefit of a heat map like this one is that it allows you to visualize a lot of data at once (there are over 1500 data points in the image above, including blank spaces) while not losing any of the points.

In the next post, I'll get into the nitty gritty about how I built this. For something that looks rather elegant (if I do say so myself), there is only one formula involved, with some conditional formatting and shapes applied. In the meantime, if you want to play with the spreadsheet a bit, use the Excel Web App below. Sorry about the horizontal scrolling required, but you can also click the bottom right-hand corner to view the sheet full screen.


Wednesday, February 15, 2012

Pie (Charts) in the Sky

Did you know that if you place an Excel document in a SkyDrive account (Microsoft's cloud-based storage), that you can then embed it into a web page...or blog post?



I had read something about this recently, and finally had an opportunity to do some poking around. It's a very cool idea, although aspects of it are a bit crude at the moment.

What you can do:
  • Upload an Office document (Word, Excel, PowerPoint, or OneNote Notebook) for storage and access from anywhere.
  • Share your documents with others to view, edit, or download.
  • Generate embed codes for all or part of your workbooks.

What you can't do (with the Excel app):
  • Nothing fancy. The app does not support VBA, data validation, embedded objects, or other items. No soup data dashboard embed for you.
  • Although you can set the embedded app such that anyone can test out the spreadsheet, once you click on the "full screen" option, you lose the ability to type in the document. This sucks, since most people aren't going to have a Lilliputian spreadsheet to embed...and webpages have limited real estate.
  • The app will not show up in RSS versions of your web page or post. Viewers/Users must click through to your site.
However, I think the apps are a good start toward communicating data. Yes, there are a ton of other tools which will also do that job. But, from a practical standpoint about what most educators and students will be doing, the ability to use your Excel documents in news ways could provide new opportunities. Create an open notebook for a science lab. Share a graph of student progress using an email only a parent can access. Collaborate on project planning with peers. Collect data from any number of stakeholders. Lots of possibilities, and all within Excel's native format.

In light of the recent posts about apps for the tablet, I couldn't help but try out using a document on the SkyDrive. Conclusion: Not recommended. You can't "pinch" to enlarge (or decrease) the view...and there's some weird arrows you have to use to navigate things. No thanks.

Use the app shown above to test out the Zero Effect workbook. Any data you input will not be saved and no one else will see what you add. I know it's too scroll-y to be considered user-friendly, but perhaps it will give you some ideas about what is possible.

Bonus Round
If you want to see what a PowerPoint deck looks like, click over to my companion post on What It's Like on the Inside.

Monday, February 13, 2012

Excel Apps for Android: Docs

The final stop in our tour of apps that give you access to your spreadsheets on a tablet is Docs. Google Docs. *shakes martini*

Unlike previous apps I've posted about, Docs requires a connection to the Internet. As lovely as it is to have files in the cloud, not everyone has a 3G plan with their tablet or the ability to consistently connect to a wifi signal. I feel like that this automatically puts Docs at a disadvantage for classroom purposes. But hey, let's see what we can see. After all, Android is a Google platform---perhaps Docs makes the most of things while being in its native habitat. Docs is a free download from the Android market.

I uploaded a file similar to one shown in the Zero Effect post, just as I did when testing previous apps (OfficeSuite, QuickOffice, and Documents to Go). Remember, there is a worksheet named "Grades" that is supposed to be hidden, embedded formulas and conditional formatting, and two graphs. Here is what the file looks like when first opened with Docs on the tablet:


Not too bad. Formatting looks like it might be okay. We've lost the graphs, but the hidden worksheet doesn't show. Editing is a bit clunky, compared to the other apps---you can't just click in a cell and fill it. You have to choose to edit a row or column and then save that work.

And after adding information?

Nothing happens. Conditional formatting is lost. Formulas don't work. The numbers are clear, but overall, this is really not impressive. So let's move on and see what happens when we use Docs to view a completed spreadsheet:



Like the others, this isn't too bad. With a fully loaded spreadsheet, the formulas and conditional formatting are applied. But no graphs---and no way to build them. That's so not cool. And, if you bypass the app and try to use Google Docs in your tablet's browser, you are no better off. Everything is just the same as the app.

On the good side of the balance sheet, all of the "offline" apps reviewed in previous posts can pull from Google Docs. So, if you want to store your spreadsheets in the cloud, but have the functionality of a better app, you really can have the best of both worlds.
 

So, what have we learned? First of all, you get what you pay for. The more expensive the app, the more robust it is when it comes to using your spreadsheets on a tablet.


Secondly, keep your expectations low. You're not going to be doing fancy-dancy data analysis with any of these. No data dashboard'ing. No (overly) complicated formulas.

Even though seamless integration between PC and tablet isn't a current possibility when it comes to spreadsheets, I don't know that it would hold me back in the classroom. Even if data analysis is limited, data collection might be facilitated. All that "anecdotal" evidence from conversations with students or observations of activities might be more easily captured. I'd love to see more qualitative data be used when evaluating student efforts. I, for one, welcome our new tablet overlords. We just need the apps to catch up a bit.

Saturday, February 11, 2012

Excel Apps for Android: Documents to Go

Educators looking for ways to integrate tablet devices into their daily work may be interested to know that there are a variety of apps out there that allow access to Excel workbooks. None are particularly fancy---you will not have the same functionality as with Excel software. But there's no harm in looking for things which allow for basic data collection and analysis. Previously in this series, we looked at OfficeSuite and QuickOffice. Today, let's talk about Documents to Go. More specifically, "Sheet to Go". I'm really trying not to make a joke about "the runs" here, but hey, they started it. Don't they know I'm really 12 years old inside?

I really want to like Documents to Go. I remember using this with my Palm OS devices and it was such a handy app. For Android, there is a Main App version that is free. With this version, you can view Office documents, but you can't create or edit them. To do that, you need the Full Version ($14.99).

  
First, the good news. (This won't take long.) Color formatting remained. And, this is the only app that keeps the hidden sheet I inserted in the workbook hidden. Other than that, I don't have much else that's nice to say about the way this app displays my sheet. Borders are gone. No text wrap. No graphs...sorta. If I click the pie chart (!) icon in the upper righthand corner, it gives me the option to see the two graphs.

Moving on. What happens when I add data?


Actually, we're a bit better off than with OfficeSuite. At least my formulas still work. And the graphs? They're building, too. Data input-wise, it's got its Sheet together. Ahem.


Your editing options are less fancy than QuickOffice. This is not an app that will do any sort of heavy lifting if you need to write formulas or build a workbook. Kind of a "look, but don't touch" approach.

How does it treat worksheets that you just want to look at, then?


It's not too bad. Like QuickOffice, it keeps my original formatting, but the numbers are a bit easier to read. Out of the three apps we've looked at so far, this is the only one that also kept the formatting for the graphs.


So, if you need to take your Sheet on the Run, then Documents to Go does a passable job. I still like the versatility of QuickOffice better, but the fact that Documents to Go has a free version is a great entry point for a teacher who just wants to think about how to integrate their Excel documents with a tablet device before ponying up some money. This Sheet don't stink.

This is the end of the app reviews---at least for apps which don't require a 3G or wifi connection. We'll take a look at Docs in the next post.

Thursday, February 9, 2012

Excel Apps for Android: QuickOffice

I've been thinking about tablet devices might support the kinds of tasks found in school settings. Whether you're a teacher capturing notes about student performance, an administrator gathering data for the big picture of happenings at your school, or a student putting together an assignment, there are opportunities to move Excel off the computer and on to a mobile device. In this series of posts, I'm looking at the options through the adult lens---as a teacher, how would I want to use the tablet and what app(s) would best support that work? We took a look at OfficeSuite. Now, let's talk about QuickOffice Pro.

First of all, this app comes in different flavours, depending upon the OS you have. QuickOffice Pro for Honeycomb Devices is $19.99; $14.99 for your phone. I grabbed the tablet version when Amazon had it as the free app of the day, but I have to say that it's a bummer to not have an app that can move between devices. Who wants to pay twice?

But QuickOffice Pro does have its charms. First of all, the file interface is much more user-friendly than OfficeSuite. This app instantly brings up a list of all the files on the device. I can quickly find what I want to open. Also, when you're using the spreadsheet part of the app, the options are more robust: more formula and formatting selections.

Let's put it through the same paces as OfficeSuite. Again, I'm using a version of the spreadsheet modeled in my Zero Effect post. First up, just the basic import. How does the spreadsheet look when opened on the tablet?


So far, we have several improvements over OfficeSuite. For one, the colours used when building the workbook transfer exactly. This sheet looks like the one I built in Excel. Unlike OfficeSuite, my graphs show up, too...but so does the hidden sheet named "grades." In this case, it's not such a big deal---I don't have anything on that worksheet. But in the grand scheme of things, I believe this could be a problem. If you're going to be sharing workbooks, you need to know that if you use either of these two apps, people may have access to information you thought would be "private."

Moving on...

What happens when we add data? Do the formulas still work? What about the conditional formatting included with the original workbook?

You'll need to click the image to embiggen, but in terms of the formulas: Yes. All of them are present and accounted for. They are all functional. Conditional formatting? Not so much, but I can live with that as long as I don't have to retype all the formulas. You'll notice, however, that the graphs aren't showing any change.

But what if I just want to use the app to view a completed spreadsheet?

Not too shabby. The graphs keep most of their original formatting. At least I don't have to rebuild them, like I did with OfficeSuite. The right justification in the cells does make numbers a bit difficult to view, but I can change that with the font settings option at the top.

All in all, I find this app to be a vast improvement over OfficeSuite. Would I pay $20 for it? Mebbe. I have to say that I'm a total cheapskate when it comes to apps---I stick with free, with the occasional $.99 splurge. However, if I was a heavy user of Excel, Word, and PowerPoint in the classroom, I think I would pony up so I could keep track of grading, review work, and look at upcoming lessons.

Next stop on our tour will be Documents to Go, with a final post about using Docs on the tablet.

Tuesday, February 7, 2012

Excel Apps for Android: OfficeSuite

While tablet devices are not substitutes for fully loaded computers and software, I think it's safe to say that they are beginning to carve out their own niche in various industries. As an educator, I can see the benefit of having a tablet computer to capture different aspects of the instructional day: formative assessment opportunities, attendance, notes/running records, productivity tasks. I might not expect the apps on a tablet to be as powerful as computing software, but I would want to know how the different devices and files could "talk" to one another to streamline my work.

At my current workplace, I have access to a Asus Eee Pad Transformer. Over the past few months, I've been watching Amazon's free app of the day and grabbing Office related apps to try out. And while I haven't given each one a rousing workout, I thought I would share what I have found over the next few posts.

First up is OfficeSuite Pro 5 by Mobile Systems ($9.99). While you can create workbooks from scratch, I decided to import a version of the spreadsheet from the last post. The only change I made was to add a worksheet called "grades." The worksheet was blank, but I hid it in the original Excel file. Here is the workbook in OfficeSuite Pro:


Notice anything? Yep, the hidden worksheet is no longer hidden (and is completely functional, to boot). And, if you'll recall, there were two graphs included at the bottom of the original sheet. They've gone buh-bye, too. However, the formatting looks similar to the original version. It wraps and resizes the text. Along the bottom, you can see the editing options. There are some simple text tools, justification, and a few other goodies. Here's a screenshot of the graphing options:

Now, let's try to add some data to the spreadsheet. The original had formulas included in the final two columns and the bottom row. Are they still there and functional?


When I double-tap in a cell, I get access to the keyboard so I can input data. However, even with only two data points, you can see that the conditional formatting isn't available in this app, and none of the original formulas work with the file. The good news is that you can type them in and they will function (and you can also recreate the graphs). The bad news is that you can type them in and have to recreate the graphs. I do have a keyboard for my tablet, but if I'm going to use that, I might as well pull out my netbook and just use Excel. Part of the benefit of using a tablet is its "handheld" nature. I don't really want to build a spreadsheet on my tablet. I want to be able to use an existing one. 

I can hear some of you asking yourself, "Self---what if I just used the tablet to view a completed spreadsheet?" Well, here is what you would see using OfficeSuite:


Oddly enough, the formula results all show up. OfficeSuite gives me all of the data (minus the conditional formatting), but not the graphs. If I rebuild those, they appear on separate worksheets. It's not an insurmountable issue---if your goal is just to be able to see a workbook instead of interact with it. Here is a graph of the attribute points. Once the graph is made, you can only make changes to the labels or the data range used. There's no control over the appearance.


This app has some very good reviews on Amazon. Would I recommend it? If you're just going to use it to view existing work (with plain Jane formulas), you'll be okay. If you're hoping to integrate it with your other devices, this one might not be the first choice. 

In the next posts, we'll take a look at QuickOffice, Documents to Go, and Docs. Have thoughts on OfficeSuite? Leave 'em in the comments.