{"action":"created","comment":{"url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/comments/48094845","id":48094845,"diff_hunk":"@@ -75,182 +79,292 @@ CSV to Shapefile in R</a>\n 4. <a href=\"{{ site.baseurl }}/R/crop-extract-raster-data-R/\">\n Crop and extract raster values in R</a>\n \n-</div>\n-\n-NOTE: The data used in this tutorial were collected at Harvard Forest which is\n-a the National Ecological Observatory Network field site <a \n-href=\"http://www.neoninc.org/science-design/field-sites/harvard-forest\" target=\"_blank\">\n-More about the NEON Harvard Forest field site</a>. These data are proxy data for\n-what will be available for 30 years from the NEON flux tower [from the NEON data portal](http://data.neoninc.org/ \"NEON data\").\n-{: .notice}\n- \n-##Notes about R Libraries\n+###Additional Resources\n \n-To work with vector data in R, we can use the `rgdal` library. We will load the \n-`raster` library to work with rasters. The `raster` library also allows us to \n-explore metadata using similar commands with both rasters and vectors.\n-\n-##Setting up the workspace\n-If you completed Lesson 00  {{site.baseurl}}R/open-shapefiles-in-R/  you can skip this code chunk.\n-```{r load-libraries-data }\n+</div>\n \n-library(rgdal)\n-library (raster)   #notice sp package should always load with raster. \n-#in case the libraries and data are not still loaded\n+#Shapefile Metadata & Attributes\n+When we imported a shapefile layer into `R`, the `readOGR()` function \n+automatically stores informatation about and associated with the data. The\n+geospatial *metadata* that contains information on the data set and\n+*attributes* that contain non-geographic information about the items in the data\n+set. \n+\n+##Load the Data\n+To work with vector data in `R`, we can use the `rgdal` library. The `raster` \n+package also allows us to explore metadata using similar commands for both\n+rasters and vectors. We will shapefiles with data for a field site boundary,","path":"01-shapefile-attributes.Rmd","position":118,"original_position":118,"commit_id":"6281ca014264fa29469b86c94060aafd71db2c27","original_commit_id":"6281ca014264fa29469b86c94060aafd71db2c27","user":{"login":"lwasser","id":7649194,"avatar_url":"https://avatars.githubusercontent.com/u/7649194?v=3","gravatar_id":"","url":"https://api.github.com/users/lwasser","html_url":"https://github.com/lwasser","followers_url":"https://api.github.com/users/lwasser/followers","following_url":"https://api.github.com/users/lwasser/following{/other_user}","gists_url":"https://api.github.com/users/lwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/lwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwasser/subscriptions","organizations_url":"https://api.github.com/users/lwasser/orgs","repos_url":"https://api.github.com/users/lwasser/repos","events_url":"https://api.github.com/users/lwasser/events{/privacy}","received_events_url":"https://api.github.com/users/lwasser/received_events","type":"User","site_admin":false},"body":"We will shapefiles with the data?? :)\r\n","created_at":"2015-12-19T17:35:02Z","updated_at":"2015-12-19T17:35:02Z","html_url":"https://github.com/data-lessons/NEON-R-Spatial-Vector/pull/51#discussion_r48094845","pull_request_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/comments/48094845"},"html":{"href":"https://github.com/data-lessons/NEON-R-Spatial-Vector/pull/51#discussion_r48094845"},"pull_request":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/51","id":54167765,"html_url":"https://github.com/data-lessons/NEON-R-Spatial-Vector/pull/51","diff_url":"https://github.com/data-lessons/NEON-R-Spatial-Vector/pull/51.diff","patch_url":"https://github.com/data-lessons/NEON-R-Spatial-Vector/pull/51.patch","issue_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/issues/51","number":51,"state":"open","locked":false,"title":"Additions, finishing code, grammar, format changes. ","user":{"login":"mjones01","id":15202683,"avatar_url":"https://avatars.githubusercontent.com/u/15202683?v=3","gravatar_id":"","url":"https://api.github.com/users/mjones01","html_url":"https://github.com/mjones01","followers_url":"https://api.github.com/users/mjones01/followers","following_url":"https://api.github.com/users/mjones01/following{/other_user}","gists_url":"https://api.github.com/users/mjones01/gists{/gist_id}","starred_url":"https://api.github.com/users/mjones01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjones01/subscriptions","organizations_url":"https://api.github.com/users/mjones01/orgs","repos_url":"https://api.github.com/users/mjones01/repos","events_url":"https://api.github.com/users/mjones01/events{/privacy}","received_events_url":"https://api.github.com/users/mjones01/received_events","type":"User","site_admin":false},"body":"Attempt to remove/smooth metadata & attributes redundancies throughout L00 and L01.  \r\nAdded code to L02 on proj4string\r\nFinished up code chunks for L03.  ","created_at":"2015-12-19T01:40:50Z","updated_at":"2015-12-19T17:35:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae4afd7e4f5b5b9abbf38e322e59bbad91cbcafa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/51/commits","review_comments_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/51/comments","review_comment_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/issues/51/comments","statuses_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/statuses/6281ca014264fa29469b86c94060aafd71db2c27","head":{"label":"mjones01:gh-pages","ref":"gh-pages","sha":"6281ca014264fa29469b86c94060aafd71db2c27","user":{"login":"mjones01","id":15202683,"avatar_url":"https://avatars.githubusercontent.com/u/15202683?v=3","gravatar_id":"","url":"https://api.github.com/users/mjones01","html_url":"https://github.com/mjones01","followers_url":"https://api.github.com/users/mjones01/followers","following_url":"https://api.github.com/users/mjones01/following{/other_user}","gists_url":"https://api.github.com/users/mjones01/gists{/gist_id}","starred_url":"https://api.github.com/users/mjones01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjones01/subscriptions","organizations_url":"https://api.github.com/users/mjones01/orgs","repos_url":"https://api.github.com/users/mjones01/repos","events_url":"https://api.github.com/users/mjones01/events{/privacy}","received_events_url":"https://api.github.com/users/mjones01/received_events","type":"User","site_admin":false},"repo":{"id":45208340,"name":"NEON-R-Spatial-Vector","full_name":"mjones01/NEON-R-Spatial-Vector","owner":{"login":"mjones01","id":15202683,"avatar_url":"https://avatars.githubusercontent.com/u/15202683?v=3","gravatar_id":"","url":"https://api.github.com/users/mjones01","html_url":"https://github.com/mjones01","followers_url":"https://api.github.com/users/mjones01/followers","following_url":"https://api.github.com/users/mjones01/following{/other_user}","gists_url":"https://api.github.com/users/mjones01/gists{/gist_id}","starred_url":"https://api.github.com/users/mjones01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjones01/subscriptions","organizations_url":"https://api.github.com/users/mjones01/orgs","repos_url":"https://api.github.com/users/mjones01/repos","events_url":"https://api.github.com/users/mjones01/events{/privacy}","received_events_url":"https://api.github.com/users/mjones01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjones01/NEON-R-Spatial-Vector","description":"Lessons that teach how to 1) open shapefiles in R, 2) use shapefiles to extract values from rasters in R","fork":true,"url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector","forks_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/forks","keys_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/teams","hooks_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/hooks","issue_events_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/issues/events{/number}","events_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/events","assignees_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/assignees{/user}","branches_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/branches{/branch}","tags_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/tags","blobs_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/statuses/{sha}","languages_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/languages","stargazers_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/stargazers","contributors_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/contributors","subscribers_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/subscribers","subscription_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/subscription","commits_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/contents/{+path}","compare_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/merges","archive_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/downloads","issues_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/issues{/number}","pulls_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/pulls{/number}","milestones_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/milestones{/number}","notifications_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/labels{/name}","releases_url":"https://api.github.com/repos/mjones01/NEON-R-Spatial-Vector/releases{/id}","created_at":"2015-10-29T20:20:26Z","updated_at":"2015-10-29T20:20:27Z","pushed_at":"2015-12-19T01:38:43Z","git_url":"git://github.com/mjones01/NEON-R-Spatial-Vector.git","ssh_url":"git@github.com:mjones01/NEON-R-Spatial-Vector.git","clone_url":"https://github.com/mjones01/NEON-R-Spatial-Vector.git","svn_url":"https://github.com/mjones01/NEON-R-Spatial-Vector","homepage":"http://data-lessons.github.io/NEON-R-Spatial-Vector","size":11731,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"data-lessons:gh-pages","ref":"gh-pages","sha":"d97d4d5e8f7fe9a8ef3854ffca809b69f24c9649","user":{"login":"data-lessons","id":10198146,"avatar_url":"https://avatars.githubusercontent.com/u/10198146?v=3","gravatar_id":"","url":"https://api.github.com/users/data-lessons","html_url":"https://github.com/data-lessons","followers_url":"https://api.github.com/users/data-lessons/followers","following_url":"https://api.github.com/users/data-lessons/following{/other_user}","gists_url":"https://api.github.com/users/data-lessons/gists{/gist_id}","starred_url":"https://api.github.com/users/data-lessons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-lessons/subscriptions","organizations_url":"https://api.github.com/users/data-lessons/orgs","repos_url":"https://api.github.com/users/data-lessons/repos","events_url":"https://api.github.com/users/data-lessons/events{/privacy}","received_events_url":"https://api.github.com/users/data-lessons/received_events","type":"Organization","site_admin":false},"repo":{"id":44772369,"name":"NEON-R-Spatial-Vector","full_name":"data-lessons/NEON-R-Spatial-Vector","owner":{"login":"data-lessons","id":10198146,"avatar_url":"https://avatars.githubusercontent.com/u/10198146?v=3","gravatar_id":"","url":"https://api.github.com/users/data-lessons","html_url":"https://github.com/data-lessons","followers_url":"https://api.github.com/users/data-lessons/followers","following_url":"https://api.github.com/users/data-lessons/following{/other_user}","gists_url":"https://api.github.com/users/data-lessons/gists{/gist_id}","starred_url":"https://api.github.com/users/data-lessons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-lessons/subscriptions","organizations_url":"https://api.github.com/users/data-lessons/orgs","repos_url":"https://api.github.com/users/data-lessons/repos","events_url":"https://api.github.com/users/data-lessons/events{/privacy}","received_events_url":"https://api.github.com/users/data-lessons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/data-lessons/NEON-R-Spatial-Vector","description":"Lessons that teach how to 1) open shapefiles in R, 2) use shapefiles to extract values from rasters in R","fork":false,"url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector","forks_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/forks","keys_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/teams","hooks_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/hooks","issue_events_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/issues/events{/number}","events_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/events","assignees_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/assignees{/user}","branches_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/branches{/branch}","tags_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/tags","blobs_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/git/refs{/sha}","trees_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/statuses/{sha}","languages_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/languages","stargazers_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/stargazers","contributors_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/contributors","subscribers_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/subscribers","subscription_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/subscription","commits_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/commits{/sha}","git_commits_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/git/commits{/sha}","comments_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/comments{/number}","issue_comment_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/issues/comments{/number}","contents_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/contents/{+path}","compare_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/merges","archive_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/downloads","issues_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/issues{/number}","pulls_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls{/number}","milestones_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/milestones{/number}","notifications_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/labels{/name}","releases_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/releases{/id}","created_at":"2015-10-22T20:47:21Z","updated_at":"2015-12-15T09:14:41Z","pushed_at":"2015-12-19T01:40:50Z","git_url":"git://github.com/data-lessons/NEON-R-Spatial-Vector.git","ssh_url":"git@github.com:data-lessons/NEON-R-Spatial-Vector.git","clone_url":"https://github.com/data-lessons/NEON-R-Spatial-Vector.git","svn_url":"https://github.com/data-lessons/NEON-R-Spatial-Vector","homepage":"http://data-lessons.github.io/NEON-R-Spatial-Vector","size":11701,"stargazers_count":4,"watchers_count":4,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":24,"forks":4,"open_issues":24,"watchers":4,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/51"},"html":{"href":"https://github.com/data-lessons/NEON-R-Spatial-Vector/pull/51"},"issue":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/issues/51"},"comments":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Vector/statuses/6281ca014264fa29469b86c94060aafd71db2c27"}}}}