{"action":"created","comment":{"url":"https://api.github.com/repos/PecanProject/pecan/pulls/comments/205173372","pull_request_review_id":140391178,"id":205173372,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTE3MzM3Mg==","diff_hunk":"@@ -636,3 +636,63 @@ dbfile.id <- function(type, file, con, hostname=PEcAn.remote::fqdn()) {\n     invisible(NA)\n   }\n }\n+\n+#' Function to Insert Records into the Formats and Variables Tables\n+#' @name dbfile.format.variable.insert\n+#' @param format_name Format Name\n+#' @param header TRUE/FALSE Boolean describing whether or not the file contains a header\n+#' @param skip The number of lines in the header\n+#' @param mimetype_id The mimetype id of the mimetype that is associated with the format\n+#' @param format_notes Any useful notes that describe the format being created\n+#' @param con Connection object to connect to bety\n+#' @param format_variables A TRUE/FALSE Boolean used to toggle a format-variables db query\n+#' @param description variable descripthon\n+#' @param units variable units\n+#' @param var_notes notes to further describe the variable\n+#' @param var_name variable name\n+#' @param max maximum possible value\n+#' @param min minimum possible value\n+#' @param standard_name PEcAn specific name? \n+#' @param label ?\n+#' @param type ?\n+#' @author Liam Burke\n+#'\n+#' @return formatid\n+#' @export\n+#' \n+#' @examples\n+#' \\dontrun{\n+#' bety <- betyConnect()\n+#'   dbfile.format.variable.insert('Test_Format', header = TRUE, skip = 2, mimetype_id = 1060, con = bety$con, format_variables = FALSE)\n+#' }\n+dbfile.format.variable.insert <- function(format_name, header, skip, mimetype_id, format_notes = \"\", con, format_variables = FALSE, \n+                                          description = NA, units = NA, var_notes = NA, var_name = NA, max = NA, min = NA, standard_name = NA, label = NA, type = NA){\n+ \n+  formatid <- get.id(\n+    table = \"formats\",\n+    colnames = c('mimetype_id', 'name'),\n+    values = c(mimetype_id, format_name),\n+    con = con,\n+    create = TRUE,\n+    dates = TRUE)\n+\n+    #### Formats Query ####\n+    cmd <- paste0(\"INSERT INTO formats \",\n+                   \"(header, skip, mimetype_id, notes, name) VALUES (\",\n+                   header, \", \", skip, \", '\", mimetype_id, \"', '\", format_notes, \"','\", format_name, \"')\")\n+\n+    db.query(query = cmd, con = con)\n+\n+    #### Format Variables Query ####\n+    if(format_variables == TRUE){\n+    cmd_fv <- paste0(\"INSERT INTO variables \",","path":"base/db/R/dbfiles.R","position":53,"original_position":53,"commit_id":"309ba8afec2240bb2c6eb297ff0224b6b432b160","original_commit_id":"309ba8afec2240bb2c6eb297ff0224b6b432b160","user":{"login":"LiamBurke24","id":29068693,"node_id":"MDQ6VXNlcjI5MDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/29068693?v=4","gravatar_id":"","url":"https://api.github.com/users/LiamBurke24","html_url":"https://github.com/LiamBurke24","followers_url":"https://api.github.com/users/LiamBurke24/followers","following_url":"https://api.github.com/users/LiamBurke24/following{/other_user}","gists_url":"https://api.github.com/users/LiamBurke24/gists{/gist_id}","starred_url":"https://api.github.com/users/LiamBurke24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiamBurke24/subscriptions","organizations_url":"https://api.github.com/users/LiamBurke24/orgs","repos_url":"https://api.github.com/users/LiamBurke24/repos","events_url":"https://api.github.com/users/LiamBurke24/events{/privacy}","received_events_url":"https://api.github.com/users/LiamBurke24/received_events","type":"User","site_admin":false},"body":"Got it. Makes sense. ","created_at":"2018-07-25T16:16:19Z","updated_at":"2018-07-25T16:16:19Z","html_url":"https://github.com/PecanProject/pecan/pull/2012#discussion_r205173372","pull_request_url":"https://api.github.com/repos/PecanProject/pecan/pulls/2012","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/comments/205173372"},"html":{"href":"https://github.com/PecanProject/pecan/pull/2012#discussion_r205173372"},"pull_request":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/2012"}},"in_reply_to_id":205046168},"pull_request":{"url":"https://api.github.com/repos/PecanProject/pecan/pulls/2012","id":203391748,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMzkxNzQ4","html_url":"https://github.com/PecanProject/pecan/pull/2012","diff_url":"https://github.com/PecanProject/pecan/pull/2012.diff","patch_url":"https://github.com/PecanProject/pecan/pull/2012.patch","issue_url":"https://api.github.com/repos/PecanProject/pecan/issues/2012","number":2012,"state":"open","locked":false,"title":"Format Record db.query (Shiny Ingest App)","user":{"login":"LiamBurke24","id":29068693,"node_id":"MDQ6VXNlcjI5MDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/29068693?v=4","gravatar_id":"","url":"https://api.github.com/users/LiamBurke24","html_url":"https://github.com/LiamBurke24","followers_url":"https://api.github.com/users/LiamBurke24/followers","following_url":"https://api.github.com/users/LiamBurke24/following{/other_user}","gists_url":"https://api.github.com/users/LiamBurke24/gists{/gist_id}","starred_url":"https://api.github.com/users/LiamBurke24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiamBurke24/subscriptions","organizations_url":"https://api.github.com/users/LiamBurke24/orgs","repos_url":"https://api.github.com/users/LiamBurke24/repos","events_url":"https://api.github.com/users/LiamBurke24/events{/privacy}","received_events_url":"https://api.github.com/users/LiamBurke24/received_events","type":"User","site_admin":false},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\nThis PR adds functionality to insert a format record and an optional variables record in the BETY db. \r\n\r\n<!--- Please select appropriate Priority, Status,and Type labels-->\r\n<!--- If you do not have permission to select labels please state which labels you would like -->\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nI included the `dbfiles.format.variable.insert` function that allows the user to register a format record in the BETY \"formats\" and \"variables\" tables. This query includes all the input fields found in the BETY GUI: `name`, `header`, `skip`, `mimetype_id`, and `notes`. \r\n\r\nAdditionally it includes the following inputs for the variables record: `description`, `units`, `var_notes`, `var_names`, `max`, `min`, `standard_name`, `label`, and `type`.  \r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\nThis change adds more information to the formats table than the db.query included in the `dbfiles.input.insert` function. Additionally, it allows the user to register new variables with the variables record. \r\n\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\n\r\n## Review Time Estimate\r\n<!---When do you want your code reviewed by?-->\r\n- [ ] Immediately\r\n- [x] Within one week\r\n- [ ] When possible\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue) <!-- please add issue number -->\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [x] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [ ] My change requires a change to the documentation.\r\n- [x] I have updated the CHANGELOG.md.\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I have read the **CONTRIBUTING** document.\r\n- [x] I have added tests to cover my changes.\r\n- [x] All new and existing tests passed.\r\n\r\n<!--this template is from https://www.talater.com/open-source-templates/#/page/99--> \r\n","created_at":"2018-07-24T02:18:54Z","updated_at":"2018-07-25T16:16:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9650355a16fe33c274092fa5767abd826bff5e02","assignee":{"login":"LiamBurke24","id":29068693,"node_id":"MDQ6VXNlcjI5MDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/29068693?v=4","gravatar_id":"","url":"https://api.github.com/users/LiamBurke24","html_url":"https://github.com/LiamBurke24","followers_url":"https://api.github.com/users/LiamBurke24/followers","following_url":"https://api.github.com/users/LiamBurke24/following{/other_user}","gists_url":"https://api.github.com/users/LiamBurke24/gists{/gist_id}","starred_url":"https://api.github.com/users/LiamBurke24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiamBurke24/subscriptions","organizations_url":"https://api.github.com/users/LiamBurke24/orgs","repos_url":"https://api.github.com/users/LiamBurke24/repos","events_url":"https://api.github.com/users/LiamBurke24/events{/privacy}","received_events_url":"https://api.github.com/users/LiamBurke24/received_events","type":"User","site_admin":false},"assignees":[{"login":"LiamBurke24","id":29068693,"node_id":"MDQ6VXNlcjI5MDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/29068693?v=4","gravatar_id":"","url":"https://api.github.com/users/LiamBurke24","html_url":"https://github.com/LiamBurke24","followers_url":"https://api.github.com/users/LiamBurke24/followers","following_url":"https://api.github.com/users/LiamBurke24/following{/other_user}","gists_url":"https://api.github.com/users/LiamBurke24/gists{/gist_id}","starred_url":"https://api.github.com/users/LiamBurke24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiamBurke24/subscriptions","organizations_url":"https://api.github.com/users/LiamBurke24/orgs","repos_url":"https://api.github.com/users/LiamBurke24/repos","events_url":"https://api.github.com/users/LiamBurke24/events{/privacy}","received_events_url":"https://api.github.com/users/LiamBurke24/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"dlebauer","id":464871,"node_id":"MDQ6VXNlcjQ2NDg3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/464871?v=4","gravatar_id":"","url":"https://api.github.com/users/dlebauer","html_url":"https://github.com/dlebauer","followers_url":"https://api.github.com/users/dlebauer/followers","following_url":"https://api.github.com/users/dlebauer/following{/other_user}","gists_url":"https://api.github.com/users/dlebauer/gists{/gist_id}","starred_url":"https://api.github.com/users/dlebauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlebauer/subscriptions","organizations_url":"https://api.github.com/users/dlebauer/orgs","repos_url":"https://api.github.com/users/dlebauer/repos","events_url":"https://api.github.com/users/dlebauer/events{/privacy}","received_events_url":"https://api.github.com/users/dlebauer/received_events","type":"User","site_admin":false},{"login":"tonygardella","id":8570691,"node_id":"MDQ6VXNlcjg1NzA2OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8570691?v=4","gravatar_id":"","url":"https://api.github.com/users/tonygardella","html_url":"https://github.com/tonygardella","followers_url":"https://api.github.com/users/tonygardella/followers","following_url":"https://api.github.com/users/tonygardella/following{/other_user}","gists_url":"https://api.github.com/users/tonygardella/gists{/gist_id}","starred_url":"https://api.github.com/users/tonygardella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonygardella/subscriptions","organizations_url":"https://api.github.com/users/tonygardella/orgs","repos_url":"https://api.github.com/users/tonygardella/repos","events_url":"https://api.github.com/users/tonygardella/events{/privacy}","received_events_url":"https://api.github.com/users/tonygardella/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PecanProject/pecan/pulls/2012/commits","review_comments_url":"https://api.github.com/repos/PecanProject/pecan/pulls/2012/comments","review_comment_url":"https://api.github.com/repos/PecanProject/pecan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PecanProject/pecan/issues/2012/comments","statuses_url":"https://api.github.com/repos/PecanProject/pecan/statuses/309ba8afec2240bb2c6eb297ff0224b6b432b160","head":{"label":"LiamBurke24:link_bety","ref":"link_bety","sha":"309ba8afec2240bb2c6eb297ff0224b6b432b160","user":{"login":"LiamBurke24","id":29068693,"node_id":"MDQ6VXNlcjI5MDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/29068693?v=4","gravatar_id":"","url":"https://api.github.com/users/LiamBurke24","html_url":"https://github.com/LiamBurke24","followers_url":"https://api.github.com/users/LiamBurke24/followers","following_url":"https://api.github.com/users/LiamBurke24/following{/other_user}","gists_url":"https://api.github.com/users/LiamBurke24/gists{/gist_id}","starred_url":"https://api.github.com/users/LiamBurke24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiamBurke24/subscriptions","organizations_url":"https://api.github.com/users/LiamBurke24/orgs","repos_url":"https://api.github.com/users/LiamBurke24/repos","events_url":"https://api.github.com/users/LiamBurke24/events{/privacy}","received_events_url":"https://api.github.com/users/LiamBurke24/received_events","type":"User","site_admin":false},"repo":{"id":95128443,"node_id":"MDEwOlJlcG9zaXRvcnk5NTEyODQ0Mw==","name":"pecan","full_name":"LiamBurke24/pecan","owner":{"login":"LiamBurke24","id":29068693,"node_id":"MDQ6VXNlcjI5MDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/29068693?v=4","gravatar_id":"","url":"https://api.github.com/users/LiamBurke24","html_url":"https://github.com/LiamBurke24","followers_url":"https://api.github.com/users/LiamBurke24/followers","following_url":"https://api.github.com/users/LiamBurke24/following{/other_user}","gists_url":"https://api.github.com/users/LiamBurke24/gists{/gist_id}","starred_url":"https://api.github.com/users/LiamBurke24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiamBurke24/subscriptions","organizations_url":"https://api.github.com/users/LiamBurke24/orgs","repos_url":"https://api.github.com/users/LiamBurke24/repos","events_url":"https://api.github.com/users/LiamBurke24/events{/privacy}","received_events_url":"https://api.github.com/users/LiamBurke24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LiamBurke24/pecan","description":"The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.","fork":true,"url":"https://api.github.com/repos/LiamBurke24/pecan","forks_url":"https://api.github.com/repos/LiamBurke24/pecan/forks","keys_url":"https://api.github.com/repos/LiamBurke24/pecan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LiamBurke24/pecan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LiamBurke24/pecan/teams","hooks_url":"https://api.github.com/repos/LiamBurke24/pecan/hooks","issue_events_url":"https://api.github.com/repos/LiamBurke24/pecan/issues/events{/number}","events_url":"https://api.github.com/repos/LiamBurke24/pecan/events","assignees_url":"https://api.github.com/repos/LiamBurke24/pecan/assignees{/user}","branches_url":"https://api.github.com/repos/LiamBurke24/pecan/branches{/branch}","tags_url":"https://api.github.com/repos/LiamBurke24/pecan/tags","blobs_url":"https://api.github.com/repos/LiamBurke24/pecan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LiamBurke24/pecan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LiamBurke24/pecan/git/refs{/sha}","trees_url":"https://api.github.com/repos/LiamBurke24/pecan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LiamBurke24/pecan/statuses/{sha}","languages_url":"https://api.github.com/repos/LiamBurke24/pecan/languages","stargazers_url":"https://api.github.com/repos/LiamBurke24/pecan/stargazers","contributors_url":"https://api.github.com/repos/LiamBurke24/pecan/contributors","subscribers_url":"https://api.github.com/repos/LiamBurke24/pecan/subscribers","subscription_url":"https://api.github.com/repos/LiamBurke24/pecan/subscription","commits_url":"https://api.github.com/repos/LiamBurke24/pecan/commits{/sha}","git_commits_url":"https://api.github.com/repos/LiamBurke24/pecan/git/commits{/sha}","comments_url":"https://api.github.com/repos/LiamBurke24/pecan/comments{/number}","issue_comment_url":"https://api.github.com/repos/LiamBurke24/pecan/issues/comments{/number}","contents_url":"https://api.github.com/repos/LiamBurke24/pecan/contents/{+path}","compare_url":"https://api.github.com/repos/LiamBurke24/pecan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LiamBurke24/pecan/merges","archive_url":"https://api.github.com/repos/LiamBurke24/pecan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LiamBurke24/pecan/downloads","issues_url":"https://api.github.com/repos/LiamBurke24/pecan/issues{/number}","pulls_url":"https://api.github.com/repos/LiamBurke24/pecan/pulls{/number}","milestones_url":"https://api.github.com/repos/LiamBurke24/pecan/milestones{/number}","notifications_url":"https://api.github.com/repos/LiamBurke24/pecan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LiamBurke24/pecan/labels{/name}","releases_url":"https://api.github.com/repos/LiamBurke24/pecan/releases{/id}","deployments_url":"https://api.github.com/repos/LiamBurke24/pecan/deployments","created_at":"2017-06-22T15:12:45Z","updated_at":"2018-05-29T17:40:03Z","pushed_at":"2018-07-24T23:03:38Z","git_url":"git://github.com/LiamBurke24/pecan.git","ssh_url":"git@github.com:LiamBurke24/pecan.git","clone_url":"https://github.com/LiamBurke24/pecan.git","svn_url":"https://github.com/LiamBurke24/pecan","homepage":"www.pecanproject.org","size":135431,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"PecanProject:develop","ref":"develop","sha":"6194657dc33b4439d213a587f8727d097a726f15","user":{"login":"PecanProject","id":2879854,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4Nzk4NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2879854?v=4","gravatar_id":"","url":"https://api.github.com/users/PecanProject","html_url":"https://github.com/PecanProject","followers_url":"https://api.github.com/users/PecanProject/followers","following_url":"https://api.github.com/users/PecanProject/following{/other_user}","gists_url":"https://api.github.com/users/PecanProject/gists{/gist_id}","starred_url":"https://api.github.com/users/PecanProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PecanProject/subscriptions","organizations_url":"https://api.github.com/users/PecanProject/orgs","repos_url":"https://api.github.com/users/PecanProject/repos","events_url":"https://api.github.com/users/PecanProject/events{/privacy}","received_events_url":"https://api.github.com/users/PecanProject/received_events","type":"Organization","site_admin":false},"repo":{"id":6857384,"node_id":"MDEwOlJlcG9zaXRvcnk2ODU3Mzg0","name":"pecan","full_name":"PecanProject/pecan","owner":{"login":"PecanProject","id":2879854,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4Nzk4NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2879854?v=4","gravatar_id":"","url":"https://api.github.com/users/PecanProject","html_url":"https://github.com/PecanProject","followers_url":"https://api.github.com/users/PecanProject/followers","following_url":"https://api.github.com/users/PecanProject/following{/other_user}","gists_url":"https://api.github.com/users/PecanProject/gists{/gist_id}","starred_url":"https://api.github.com/users/PecanProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PecanProject/subscriptions","organizations_url":"https://api.github.com/users/PecanProject/orgs","repos_url":"https://api.github.com/users/PecanProject/repos","events_url":"https://api.github.com/users/PecanProject/events{/privacy}","received_events_url":"https://api.github.com/users/PecanProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PecanProject/pecan","description":"The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.","fork":false,"url":"https://api.github.com/repos/PecanProject/pecan","forks_url":"https://api.github.com/repos/PecanProject/pecan/forks","keys_url":"https://api.github.com/repos/PecanProject/pecan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PecanProject/pecan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PecanProject/pecan/teams","hooks_url":"https://api.github.com/repos/PecanProject/pecan/hooks","issue_events_url":"https://api.github.com/repos/PecanProject/pecan/issues/events{/number}","events_url":"https://api.github.com/repos/PecanProject/pecan/events","assignees_url":"https://api.github.com/repos/PecanProject/pecan/assignees{/user}","branches_url":"https://api.github.com/repos/PecanProject/pecan/branches{/branch}","tags_url":"https://api.github.com/repos/PecanProject/pecan/tags","blobs_url":"https://api.github.com/repos/PecanProject/pecan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PecanProject/pecan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PecanProject/pecan/git/refs{/sha}","trees_url":"https://api.github.com/repos/PecanProject/pecan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PecanProject/pecan/statuses/{sha}","languages_url":"https://api.github.com/repos/PecanProject/pecan/languages","stargazers_url":"https://api.github.com/repos/PecanProject/pecan/stargazers","contributors_url":"https://api.github.com/repos/PecanProject/pecan/contributors","subscribers_url":"https://api.github.com/repos/PecanProject/pecan/subscribers","subscription_url":"https://api.github.com/repos/PecanProject/pecan/subscription","commits_url":"https://api.github.com/repos/PecanProject/pecan/commits{/sha}","git_commits_url":"https://api.github.com/repos/PecanProject/pecan/git/commits{/sha}","comments_url":"https://api.github.com/repos/PecanProject/pecan/comments{/number}","issue_comment_url":"https://api.github.com/repos/PecanProject/pecan/issues/comments{/number}","contents_url":"https://api.github.com/repos/PecanProject/pecan/contents/{+path}","compare_url":"https://api.github.com/repos/PecanProject/pecan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PecanProject/pecan/merges","archive_url":"https://api.github.com/repos/PecanProject/pecan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PecanProject/pecan/downloads","issues_url":"https://api.github.com/repos/PecanProject/pecan/issues{/number}","pulls_url":"https://api.github.com/repos/PecanProject/pecan/pulls{/number}","milestones_url":"https://api.github.com/repos/PecanProject/pecan/milestones{/number}","notifications_url":"https://api.github.com/repos/PecanProject/pecan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PecanProject/pecan/labels{/name}","releases_url":"https://api.github.com/repos/PecanProject/pecan/releases{/id}","deployments_url":"https://api.github.com/repos/PecanProject/pecan/deployments","created_at":"2012-11-25T23:48:26Z","updated_at":"2018-07-24T15:23:34Z","pushed_at":"2018-07-25T14:02:16Z","git_url":"git://github.com/PecanProject/pecan.git","ssh_url":"git@github.com:PecanProject/pecan.git","clone_url":"https://github.com/PecanProject/pecan.git","svn_url":"https://github.com/PecanProject/pecan","homepage":"www.pecanproject.org","size":135472,"stargazers_count":76,"watchers_count":76,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":114,"mirror_url":null,"archived":false,"open_issues_count":347,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":114,"open_issues":347,"watchers":76,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/2012"},"html":{"href":"https://github.com/PecanProject/pecan/pull/2012"},"issue":{"href":"https://api.github.com/repos/PecanProject/pecan/issues/2012"},"comments":{"href":"https://api.github.com/repos/PecanProject/pecan/issues/2012/comments"},"review_comments":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/2012/comments"},"review_comment":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PecanProject/pecan/pulls/2012/commits"},"statuses":{"href":"https://api.github.com/repos/PecanProject/pecan/statuses/309ba8afec2240bb2c6eb297ff0224b6b432b160"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"LiamBurke24"}}