USGS-R / training-curriculum

5 stars 16 forks source link

example Rmd to start class #332

Closed lindsayplatt closed 7 years ago

lindsayplatt commented 7 years ago

First draft of the example Rmd we will walk through at the beginning of an introduction to R class. I intend for people to download this from the data/ folder just like they grab csv files. Then we can open it, and be able to knit and walk through each line together.

I took the earthquake blog @ldecicco-USGS put together and adapted it so that it used stuff similar to what we will show in class and eliminated the spatial transform stuff (I just used maps). People can go to the real blog to see that, but I wanted to mimic more what we will cover in the class. If we decide to teach ggplot2 in that particular class, we can just have people look at the plotting functions in the actual blog post.

For the figure, that last plot looks a little funky to me...did I do something wrong? It doesn't seem like there's an appropriate blip in the data like the others.

image

ldecicco-USGS commented 7 years ago

It looks like they took that 1 point out, here's how it looks in the blog:

image

That's the trickiness of provisional data I guess....the scientists behind the scenes fix issues making the data a bit of a moving target. I'm guessing when it turns into "accepted" it will also have an "E" or some other comment at that point in time.

I'd just take out that site for this example. Hopefully others don't get adjusted out...it's cool!

lindsayplatt commented 7 years ago

Ahhh good point. I actually am just going to make a note about that since others still might change in the future from the blog.

lindsayplatt commented 7 years ago

Merging based on 3/4 approvals.