Forum Replies Created
-
AuthorPosts
-
Dan DamelinKeymaster
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.
Dan DamelinKeymasterOne 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.
Dan DamelinKeymasterHi 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
Dan DamelinKeymasterI 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.
Dan DamelinKeymasterHere’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).
Dan DamelinKeymasterLet 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.
Dan DamelinKeymasterYes, 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. 🙂
Dan DamelinKeymasterHi 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
Dan DamelinKeymasterItai, check out this screencast of me executing the steps above. Does this help?
Dan DamelinKeymasterThank 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.
Dan DamelinKeymasterCODAP 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.
Dan DamelinKeymasterHI 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.
January 26, 2024 at 3:44 am in reply to: feature request—setting to show datapoints with missing values in graph #10515Dan DamelinKeymasterAndrew,One quick way to do recode the categorical variable the way Bill described above is to:
- Drag the attribute to the far left to group by those categories
- Fill in the empty cell with whatever you want to designate “missing”.
- Drag it back to where it was before.
Click to see a video example.
Dan DamelinKeymasterBecause 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.
Dan DamelinKeymasterThis 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.
-
AuthorPosts