Dan Damelin

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 96 total)
  • Author
    Posts
  • in reply to: Data subsetting #10456
    Dan Damelin
    Keymaster

    Can you share the dataset (CSV) or the CODAP document (by going to the hamburger menu to the left of the document title and choosing Share->Get link to shared view)?I have an idea about a way to use a formula to pick out these sections that don’t change by much compared with other sections.

    in reply to: Photo data type in CODAP? #10463
    Dan Damelin
    Keymaster

    One way to potentially make this work would be to create a plugin that monitors the selectionList in CODAP. If the selection changes and contains only one case, then the plugin could scan the case attribute values looking for URLs. Once the first one is found, the plugin could open a webview (or perhaps modify an open webview) to display the URL.

    in reply to: Adding boundary map data manually to excel file #10466
    Dan Damelin
    Keymaster

    Hi Itai,Do you have the GeoJSON that contains the boundary information for these regions? If so, you can load both the csv and the GeoJSON into the same CODAP document and then drag your “REGION” column onto the matching region name column in the CODAP table that has the boundary information. See these help docs for how to join tables:

    https://codap.concord.org/help/work-tables/join-two-tables

    https://codap.concord.org/help/work-maps/create-map-custom-boundaries

    in reply to: Census Tracks #10475
    Dan Damelin
    Keymaster

    I don’t have a target file size, but smaller is better. What I generally do is move the % slider until I start to see a loss of detail in the borders. It’s amazing how much info can be thrown out and have almost no visual change in the boundary definitions. I’m quite impressed with their algorithm for simplifying shapes.

    in reply to: Census Tracks #10477
    Dan Damelin
    Keymaster

    Here’s a CODAP doc with NC census tracts.https://codap.concord.org/releases/latest/static/dg/en/cert/index.html#shared=https%3A%2F%2Fcfm-shared.concord.org%2FrPsp6ogNPu0J6ZzzYj0p%2Ffile.jsonTo make this I searched the web for NC census tracts geoJSON, but could not find that. I was able to find shapefiles, which were here.Then I opened this great tool (mapshaper.org) for simplifying and converting between various boundary file types. I uploaded the files that I had downloaded, clicked “simplify” and used the slider to reduce file size, and then “export” to save as geoJSON. Then you can just drag the geoJSON into CODAP and join tables based on one of the identifiers (assuming your data has one of those identifiers for linking).

    in reply to: Using historical census data #10495
    Dan Damelin
    Keymaster

    Let us know if you have questions about the sampler and it’s function to do the kind of work you are interested in. We are also going to be releasing a plugin soon called Testimate, which will make inferential statistical calculations more possible with CODAP as well.

    in reply to: periodic table assignment #10496
    Dan Damelin
    Keymaster

    Yes, what Bill suggests will fix it. For values that are considered “categorical” which in this case row number is plotted that way, you can drag the categories to be in whatever order you like. So, you can drag the row numbers to reorder them. It’s been on my list for a long time to update the example dataset doc we publicly provide. Maybe it’s time I move that up in priority. 🙂

    in reply to: multiple data levels #10504
    Dan Damelin
    Keymaster

    Hi Itai,I’m not sure what you are asking in #1 above. You can’t drag individual cells around in a table, only entire columns/attributes.Regarding #2, we have another application called SageModeler which allows you to create system models while also taking advantage of CODAP’s data handling features. Please check out https://sagemodeler.concord.orgFor that specific model https://sagemodeler.concord.org/app/#shared=https%3A%2F%2Fcfm-shared.concord.org%2FVoyxk8c8LL3elY55KJQg%2Ffile.json 

    in reply to: multiple data levels #10507
    Dan Damelin
    Keymaster

    Itai, check out this screencast of me executing the steps above. Does this help?

    in reply to: Various topics #10510
    Dan Damelin
    Keymaster

    Thank you for spending the time to document these issues.Could you attach the file you referred to (and any others that show the issues you mention about the graphs)? You could also make share links to files, which might be even easier to include in a message.

    in reply to: Normal Plot #10511
    Dan Damelin
    Keymaster

    CODAP has the ability to generate a normal curve fit to your data.To see this make a univariate plot of the values you are interested in. Then click on the measures tool (the ruler icon) to bring up the measures palette. Here you can click on “measures of spread” and click the box for “normal curve.” It would at least let your students see if their data visually fit a normal distribution.

    in reply to: multiple data levels #10514
    Dan Damelin
    Keymaster

    HI Itai,Here is a link to a CODAP document that does what you want. To make this I:

    • imported you csv into CODAP
    • used the Transformers plugin to create a new column (time from start), and another column called volume, so that the columns headers for seconds became values in the time column, and the volume measurements were moved into a volume column.
    • I then used the Transformers plugin to make an editable copy (the first table made by the plugin was not editable)
    • Then, by dragging “treatment” to the left I grouped by that attribute.
    • I then made a subgroup by “time”
    • Then a new column that calculates the average volume per time-subgroup, which is already grouped by treatment.
    • Then made a graph, dragging “time” to the x-axis, “average vol” to the y-axis and dropping “treatment” in the middle to color the dots and chose to show lines using the ruler tool panel.
    Dan Damelin
    Keymaster

    Andrew,One quick way to do recode the categorical variable the way Bill described above is to:

    1. Drag the attribute to the far left to group by those categories
    2. Fill in the empty cell with whatever you want to designate “missing”.
    3. Drag it back to where it was before.

    Click to see a video example.

    in reply to: create random subset of data #10517
    Dan Damelin
    Keymaster

    Because you want to give a different sample to each group, I would recommend option 2 that Bill mentioned above, because you can generate as many samples as you want by clicking the start button multiple times.

    in reply to: Regression line – broad boundaries #10519
    Dan Damelin
    Keymaster

    This issue has been answered here: https://codap.concord.org/forums/topic/regression-line-broad-boundaries/#post-8073

    But I had another couple of ideas:

    1. You could open the graph in the draw tool (see camera icon) and annotate it any way you like.

    2. You could put the image online and import it, then make the graph transparent in the style palette (paint brush), adjust the scale of the graph using the axes, and overlay the graph on your image.

    See CODAP doc shared here.

Viewing 15 posts - 16 through 30 (of 96 total)