Bill Finzer

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 392 total)
  • Author
    Posts
  • in reply to: Link to CODAP with data/csv included #970
    Bill Finzer
    Keymaster

    Hello Anna,

    Somewhat unfortunately, the documentation for importing CSV data through the URL is somewhat buried in CODAP’s github site. You can find it here.

    There is another gotcha however, namely that CODAP runs as a “secure” site with. As such, the site accessed by the URL parameter must also be secure. So the URL you would use will need to have the ‘https’ prefix as in

    https://codap.concord.org/app/?url=https://mywebsite.com/fjdkfjk.csv

    Here’s what Jonathan Sandoe has to say in an email to another user:

    The issue is that the link is to an insecure http address and CODAP is running with an https URL. Browser rules (quite reasonably) prevent a secure page from loading an insecure file. I tried modifying the URL to “https://xyz.com/Sample.csv” but the server doesn’t appear to support https.

    If you are affiliated with the owners of xyz.com in any way you could request that they support HTTPS. It’s probably a good idea for them anyway.

    The other network bugaboo that limits CODAP’s ability to read data from a third party sources are same origin policies (CORS). Servers can be configured to restrict the ability of browser apps to read their data. If a CSV file’s server is configured in this way, CODAP will not be able to use it directly.

     

    in reply to: How Make Numeric Values of Mean and Median Stay Visible? #942
    Bill Finzer
    Keymaster

    No, sorry, there isn’t. (We have in mind a future feature that will make capturing such things easy.)

    But you can use the camera menu to open the graph with the draw tool to add the value by hand.

    in reply to: Need Help Making Line Graphs – the "Connect" tool #936
    Bill Finzer
    Keymaster

    Hi Stephanie,

    Yes, there are ways to massage dates from the bewildering variety of formats in which they appear into formats that CODAP can deal with (without having to type them in by hand.

    In the case of the Salinity data, it didn’t prove too hard, though there is one apparent CODAP bug that gets in the way. I’ve updated the CODAP document so it now shows both datasets and has some numbered instructions that came from my efforts. For convenience, here they are.

    1. Rename the two attributes.
    2. Set the first attribute Type as Date.
    3. Set the second attribute type as numeric.
    4. Delete the first case.
    5. Make the scatterplot.
    6. Note that (for some reason) the date scale only goes through 2015. With your mouse cursor on top of Oct, click and drag to the left so that the rest of the points come into view.

    I’d say you’re getting a taste of what data scientists and other data folks confront every day.

    Bill

    in reply to: Need Help Making Line Graphs – the "Connect" tool #932
    Bill Finzer
    Keymaster

    Hi Stephanie,

    As I suspected, the problem was turning the MONTH attribute into a valid date.

    Here is a CODAP document with the data properly munged.

    I was able to do it with formulas, but it would have been a lot quicker and easier to just type them in. I erased all the formula work because it was so awkward.

    Hope this helps,

    Bill

    in reply to: Need Help Making Line Graphs – the "Connect" tool #929
    Bill Finzer
    Keymaster

    Hi Stephanie,

    Yes, there is  a fix. I just need to see the data to describe it.

    Unfortunately I couldn’t access your CODAP file on Google Drive. But you can upload the CSV file here.

    Or you can go to the top-left menu and choose Share followed by Get Shared Link. Then post the link here. I’ll be able to view and edit a copy of your document without changing the master.

    Thanks, Bill

    in reply to: Need Help Making Line Graphs – the "Connect" tool #924
    Bill Finzer
    Keymaster

    Hi Stephanie,

    I wonder if the time attribute is not being correctly interpreted? Could you either provide a link to a shared view of your CODAP document, or upload a CSV file of your data so we can take a look?

    The “Connecting Lines” option is only available when you have a scatterplot; i.e. when both axes have a numeric attribute. I suspect that your time attribute is being treated as categorical so what even though your graph looks “sort of” right, it’s actually a dot plot and not a scatterplot.

    Bill

    Bill Finzer
    Keymaster

    Hi Josh,

    It is possible, of course to add quadratic fitting. That starts us down a slippery slope, though, that includes polynomial fitting and exponential/logarithmic fitting. All that functionality can be pretty off-putting to non-math-geeks. So we’d have to figure out how to provide it without cluttering things up. Maybe in a plugin?!

    Bill

    in reply to: CODAP in French #921
    Bill Finzer
    Keymaster

    Hi Steen,

    Jonathan is on vacation this week, but next week he’ll set you up for Danish. Thank you ever so much for being willing to give this a try!

    Bill

    Bill Finzer
    Keymaster

    Hi,

    The following should work:

    2.39*x-5.6

    2.39*Day-5.6

    Or you could create two sliders, a and b, adjusted to -5.6 and 2.39. Then you would plot

    b + a*Day or

    b + a*x

    I hope that helps,

    Bill

    in reply to: trouble opening file on Google Drive #912
    Bill Finzer
    Keymaster

    I’m sure you’re right about the problems that having two logins can pose. I’ve seen that, too. Thanks for posting, including the solution!

    in reply to: Rank function? #911
    Bill Finzer
    Keymaster

    Hi Tim,

    You are the first to request rank. I’ll put it at the top of the feature requests!

    Bill

    in reply to: Sampler input options – feature request #894
    Bill Finzer
    Keymaster

    Sorry, the sampler doesn’t support those input options. But I can see why you might want them! I’ll enter a feature request.

    in reply to: Incorporate mean absolute deviation #893
    Bill Finzer
    Keymaster

    Thanks for pointed out that the MAD is part of middle school common core. I’ll enter feature requests for both displaying it on a graph and for a function to compute it.

    in reply to: Possible caseIndex bug in Sampler? #892
    Bill Finzer
    Keymaster

    Definitely a bug! And you get first call on it. Thanks very much. And nice workaround.

    Deleting the measures on Clear Data was by design with the idea that you would be moving on to a new model-making activity. But you’re not the first to wish it were different, so perhaps we’ll rethink. A workaround is to use “Delete All Cases” in the table menu as that leaves all the attributes intact.

    in reply to: UI issues with Sampler on Mac OS #887
    Bill Finzer
    Keymaster

    Thank you very much for this bug report for the Sampler plugin!

    I was able to observe the bug in Safari on a Mac (though not, for some reason in Chrome).

    I found that I could edit the labels for the spinner, so that might be a workaround in some situations.

    We’ll fix this asap!

Viewing 15 posts - 271 through 285 (of 392 total)