{"action":"created","comment":{"url":"https://api.github.com/repos/JGCRI/gcamdata/pulls/comments/150786826","pull_request_review_id":76385795,"id":150786826,"diff_hunk":"@@ -67,210 +75,638 @@ module_gcam.usa_L222.en_transformation_USA_DISABLED <- function(command, ...) {\n     L222.GlobalTechCost_en <- get_data(all_data, \"L222.GlobalTechCost_en\")\n     L222.GlobalTechShrwt_en <- get_data(all_data, \"L222.GlobalTechShrwt_en\")\n     L222.GlobalTechCapture_en <- get_data(all_data, \"L222.GlobalTechCapture_en\")\n-    L222.GlobalTechShutdownProfit_en <- get_data(all_data, \"L222.GlobalTechShutdownProfit_en\")\n-    L222.GlobalTechShutdown_en <- get_data(all_data, \"L222.GlobalTechShutdown_en\")\n-    L222.GlobalTechSCurveProfit_en <- get_data(all_data, \"L222.GlobalTechSCurveProfit_en\")\n+    # L222.GlobalTechShutdownProfit_en <- get_data(all_data, \"L222.GlobalTechShutdownProfit_en\")\n+    # L222.GlobalTechShutdown_en <- get_data(all_data, \"L222.GlobalTechShutdown_en\")\n+    # L222.GlobalTechSCurveProfit_en <- get_data(all_data, \"L222.GlobalTechSCurveProfit_en\")\n     L222.GlobalTechSCurve_en <- get_data(all_data, \"L222.GlobalTechSCurve_en\")\n-    L222.GlobalTechLifetimeProfit_en <- get_data(all_data, \"L222.GlobalTechLifetimeProfit_en\")\n-    L222.GlobalTechLifetime_en <- get_data(all_data, \"L222.GlobalTechLifetime_en\")\n+    # L222.GlobalTechLifetimeProfit_en <- get_data(all_data, \"L222.GlobalTechLifetimeProfit_en\")\n+    # L222.GlobalTechLifetime_en <- get_data(all_data, \"L222.GlobalTechLifetime_en\")\n     L122.out_EJ_state_refining_F <- get_data(all_data, \"L122.out_EJ_state_refining_F\")\n     L202.CarbonCoef <- get_data(all_data, \"L202.CarbonCoef\")\n \n-    # ===================================================\n-    # TRANSLATED PROCESSING CODE GOES HERE...\n-    #\n-    # If you find a mistake/thing to update in the old code and\n-    # fixing it will change the output data, causing the tests to fail,\n-    # (i) open an issue on GitHub, (ii) consult with colleagues, and\n-    # then (iii) code a fix:\n-    #\n-    # if(OLD_DATA_SYSTEM_BEHAVIOR) {\n-    #   ... code that replicates old, incorrect behavior\n-    # } else {\n-    #   ... new code with a fix\n-    # }\n-    #\n+\n+    # silence check package notes\n+    logit.year.fillout <- year <- from.year <- to.year <- region <- supplysector <- subsector <-\n+      technology <- sector.name <- subsector.name <- sector <- state <- fuel <- value <- market.name <-\n+      trash <- calOutputValue <- minicam.energy.input <- supplysector.x <- supplysector.y <-\n+      calibration <- grid_region <- stub.technology <- key <- NULL\n+\n+\n+\n+    # Correct some of the inputs\n+    L222.Supplysector_en %>%\n+      mutate(logit.year.fillout = as.integer(logit.year.fillout)) -> # was character\n+      L222.Supplysector_en\n+\n+\n+    L222.SubsectorLogit_en  %>%\n+      mutate(logit.year.fillout = as.integer(logit.year.fillout)) -> # was character\n+      L222.SubsectorLogit_en\n+\n+\n+    L222.StubTechCoef_refining %>%\n+      mutate(year = as.integer(year)) -> # was double\n+      L222.StubTechCoef_refining\n+\n+\n+    L222.GlobalTechInterp_en %>%\n+      mutate(from.year = as.integer(from.year), # was character\n+             to.year = as.integer(to.year)) ->\n+      L222.GlobalTechInterp_en\n+\n+\n+    L222.GlobalTechCoef_en %>%\n+      mutate(year  = as.integer(year)) -> # was character\n+      L222.GlobalTechCoef_en\n+\n+\n+    L222.GlobalTechCost_en %>%\n+      mutate(year = as.integer(year)) -> # was double\n+      L222.GlobalTechCost_en\n+\n+\n+    L222.GlobalTechCapture_en %>%\n+      mutate(year = as.integer(year)) -> # was character\n+      L222.GlobalTechCapture_en\n+\n+\n+    L222.GlobalTechSCurve_en %>%\n+      mutate(year = as.integer(year)) -> # was character\n+      L222.GlobalTechSCurve_en\n+\n+\n+    # Some helpful functions:\n     #\n-    # NOTE: there are 'match' calls in this code. You probably want to use left_join_error_no_match\n-    # For more information, see https://github.com/JGCRI/gcamdata/wiki/Name-That-Function\n-    # NOTE: This code uses repeat_and_add_vector\n-    # This function can be removed; see https://github.com/JGCRI/gcamdata/wiki/Name-That-Function\n-    # ===================================================\n+    # global_energy_to_USA_nonGlobalTech - takes global energy inputs for non global tech\n+    # from L222.en_transformation.R and processes for use in USA\n+    global_energy_to_USA_nonGlobalTech <- function(data){\n+\n+      data %>%\n+        filter(region == \"USA\",\n+               supplysector %in% gcamusa.SECTOR_EN_NAMES) %>%\n+        write_to_all_states(names(data)) %>%\n+        filter((subsector == \"oil refining\" & region %in% oil_refining_states) |\n+                 subsector != \"oil refining\") %>%\n+        mutate(supplysector = subsector)\n+\n+    } # global_energy_to_USA_nonGlobalTech\n+\n+    # global_energy_to_USA_GlobalTech - takes global energy inputs for global tech\n+    # from L222.en_transformation.R and processes for use in USA\n+    global_energy_to_USA_GlobalTech <- function(data){\n+\n+      data %>%\n+        filter(sector.name %in% gcamusa.SECTOR_EN_NAMES) %>%\n+        mutate(sector.name = subsector.name)\n+\n+    } # global_energy_to_USA_GlobalTech\n+\n+\n+    # build tables\n+\n+    # L222.TechEQUIV: not used in this code, would probably be best defined externally as a constant or assumption\n+    L222.TechEQUIV <- tibble(group.name=c(\"technology\"), tag1=c(\"technology\"),\n+                              tag2=c(\"pass-through-technology\"))\n+\n+    # L222.SectorEQUIV: not used in this code, would probably be best defined externally as a constant or assumption\n+    L222.SectorEQUIV <- tibble(group.name=c(\"sector\"), tag1=c(\"supplysector\"),\n+                               tag2=c(\"pass-through-sector\"))\n+\n+\n+    # Oil refining sectors are only created in states where the production is > 0 in the historical period.\n+    # Collect these states. Other techs are available everywhere\n+    L122.out_EJ_state_refining_F %>%\n+      filter(sector == \"oil refining\",\n+             year %in% HISTORICAL_YEARS) %>%\n+      group_by(state, sector, fuel) %>%\n+      summarise(value = sum(value)) %>%\n+      ungroup %>%\n+      filter(value > 0) %>%\n+      pull(state) ->\n+      oil_refining_states\n+\n+\n+    # L222.DeleteStubTech_USAen: remove existing stub technologies in the USA region.\n+    # The supplysector and subsector structure in the sectors defined in gcamusa.SECTOR_EN_NAMES are retained\n+    L222.StubTech_en %>%\n+      filter(region == \"USA\",\n+             supplysector %in% gcamusa.SECTOR_EN_NAMES) ->\n+      L222.DeleteStubTech_USAen\n+\n+\n+    # L222.Tech_USAen: Just the technology pass-throughs used to set the proper node name, USA region\n+    L222.SubsectorLogit_en %>%\n+      select(region, supplysector, subsector) %>%\n+      filter(region == \"USA\",\n+             supplysector %in% gcamusa.SECTOR_EN_NAMES) %>%\n+      repeat_add_columns(tibble(state = gcamusa.STATES)) %>%\n+      filter((subsector == \"oil refining\" & state %in% oil_refining_states) |\n+               subsector != \"oil refining\") %>%\n+      mutate(technology = paste(state, subsector, sep = gcamusa.STATE_SUBSECTOR_DELIMITER)) ->\n+      L222.Tech_USAen\n+\n+\n+    # save some of this information for the PassThroughSector information\n+    # L222.PassThroughSector_USAen: PassThroughSector information to send vintaging info from states to USA.\n+    L222.Tech_USAen %>%\n+      select(state, subsector, supplysector, region) %>%\n+      rename(marginal.revenue.market = region,\n+             region = state,\n+             pass.through.sector = subsector,\n+             marginal.revenue.sector = supplysector) ->\n+      L222.PassThroughSector_USAen\n+\n+\n+    # select only relevant columns for L222.Tech_USAen, particularly dropping state\n+    L222.Tech_USAen %>%\n+      select(one_of(LEVEL2_DATA_NAMES[[\"Tech\"]])) ->\n+      L222.Tech_USAen\n+\n+\n+    # L222.TechInterp_USAen: technology shareweights, USA region\n+    # Technology interpolation only applies to calibrated technologies.\n+    # For biomass liquids, allow state shares to shift over time\n+    # (future techs are different than present techs).\n+    L222.Tech_USAen %>%\n+      filter(subsector %in% c(\"oil refining\", \"biomass liquids\")) %>%\n+      mutate(apply.to = \"share-weight\",\n+             from.year = max(BASE_YEARS),\n+             to.year = max(MODEL_YEARS),\n+             interpolation.function = if_else(subsector == \"biomass liquids\", \"s-curve\",\"fixed\")) ->\n+      L222.TechInterp_USAen\n+\n+\n+    # L222.TechShrwt_USAen: technology shareweights in each year, USA region\n+    # Default the base year shareweights to 0. This will be over-ridden in calibration\n+    # Default the future year shareweights to 1.\n+    L222.Tech_USAen %>%\n+      repeat_add_columns(tibble(year = BASE_YEARS)) %>%\n+      mutate(share.weight = 0) ->\n+      tmp\n+\n+    L222.Tech_USAen %>%\n+      repeat_add_columns(tibble(year = FUTURE_YEARS)) %>%\n+      mutate(share.weight = 1) %>%\n+      bind_rows(tmp) ->\n+      L222.TechShrwt_USAen\n+\n+\n+    # L222.TechCoef_USAen: technology coefficients and market names, USA region\n+    L222.TechShrwt_USAen %>%\n+      select(one_of(LEVEL2_DATA_NAMES[[\"TechYr\"]])) %>%\n+      mutate(minicam.energy.input = subsector,\n+             coefficient = 1,\n+             market.name = technology) %>%\n+      separate(market.name, c(\"market.name\", \"trash\"), extra = \"merge\", sep = gcamusa.STATE_SUBSECTOR_DELIMITER) %>%\n+      select(-trash) ->\n+      L222.TechCoef_USAen\n+\n+\n+    # L222.Production_USArefining: calibrated refinery production in USA (consuming output of states)\n+    # Aggregated to the supplysector/subsector/technology level\n+    ### I'm pretty sure all this aggregation does is remove the state column, since the state information is\n+    ### implicit in the technology column. That is, the aggregation doesn't actually change any values - is\n+    ### this intended?\n+      L122.out_EJ_state_refining_F %>%\n+        filter(year %in% BASE_YEARS) %>%\n+        rename(calOutputValue = value) %>%\n+        mutate(calOutputvalue = round(calOutputValue, gcamusa.DIGITS_CALOUTPUT),\n+               region = \"USA\") %>%\n+        left_join_error_no_match(distinct(select(calibrated_techs, sector, supplysector, subsector)), by = \"sector\") %>%\n+        mutate(technology = paste(state, subsector, sep = gcamusa.STATE_SUBSECTOR_DELIMITER),\n+               minicam.energy.input = subsector) %>%\n+        filter((subsector == \"oil refining\" & state %in% oil_refining_states) |\n+                 subsector != \"oil refining\") %>%\n+        # Aggregate\n+        group_by(region, supplysector, subsector, technology, minicam.energy.input, year) %>%\n+        summarise(calOutputValue = sum(calOutputValue)) %>%\n+        ungroup %>%\n+        mutate(share.weight.year = year) %>%\n+        set_subsector_shrwt %>%\n+        mutate(tech.share.weight = if_else(calOutputValue == 0, 0, 1)) %>%","path":"R/zchunk_L222.en_transformation_USA.R","position":305,"original_position":305,"commit_id":"907e968506e863be26c5e3a4dcdddeda5178fdd9","original_commit_id":"907e968506e863be26c5e3a4dcdddeda5178fdd9","user":{"login":"bpbond","id":1956468,"avatar_url":"https://avatars2.githubusercontent.com/u/1956468?v=4","gravatar_id":"","url":"https://api.github.com/users/bpbond","html_url":"https://github.com/bpbond","followers_url":"https://api.github.com/users/bpbond/followers","following_url":"https://api.github.com/users/bpbond/following{/other_user}","gists_url":"https://api.github.com/users/bpbond/gists{/gist_id}","starred_url":"https://api.github.com/users/bpbond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpbond/subscriptions","organizations_url":"https://api.github.com/users/bpbond/orgs","repos_url":"https://api.github.com/users/bpbond/repos","events_url":"https://api.github.com/users/bpbond/events{/privacy}","received_events_url":"https://api.github.com/users/bpbond/received_events","type":"User","site_admin":false},"body":"`= abs(sign(calOutputValue))` probably faster although I guess not as clear.","created_at":"2017-11-14T10:04:21Z","updated_at":"2017-11-14T10:07:08Z","html_url":"https://github.com/JGCRI/gcamdata/pull/825#discussion_r150786826","pull_request_url":"https://api.github.com/repos/JGCRI/gcamdata/pulls/825","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/JGCRI/gcamdata/pulls/comments/150786826"},"html":{"href":"https://github.com/JGCRI/gcamdata/pull/825#discussion_r150786826"},"pull_request":{"href":"https://api.github.com/repos/JGCRI/gcamdata/pulls/825"}}},"pull_request":{"url":"https://api.github.com/repos/JGCRI/gcamdata/pulls/825","id":152312135,"html_url":"https://github.com/JGCRI/gcamdata/pull/825","diff_url":"https://github.com/JGCRI/gcamdata/pull/825.diff","patch_url":"https://github.com/JGCRI/gcamdata/pull/825.patch","issue_url":"https://api.github.com/repos/JGCRI/gcamdata/issues/825","number":825,"state":"open","locked":false,"title":"Snyder l222 en transformation usa","user":{"login":"abigailsnyder","id":22838480,"avatar_url":"https://avatars0.githubusercontent.com/u/22838480?v=4","gravatar_id":"","url":"https://api.github.com/users/abigailsnyder","html_url":"https://github.com/abigailsnyder","followers_url":"https://api.github.com/users/abigailsnyder/followers","following_url":"https://api.github.com/users/abigailsnyder/following{/other_user}","gists_url":"https://api.github.com/users/abigailsnyder/gists{/gist_id}","starred_url":"https://api.github.com/users/abigailsnyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigailsnyder/subscriptions","organizations_url":"https://api.github.com/users/abigailsnyder/orgs","repos_url":"https://api.github.com/users/abigailsnyder/repos","events_url":"https://api.github.com/users/abigailsnyder/events{/privacy}","received_events_url":"https://api.github.com/users/abigailsnyder/received_events","type":"User","site_admin":false},"body":"@bpbond The output process for L222.DeleteStubTech_USAen is being finicky. When I try to include add_title and add_legacy_name, I get errors when trying to build the driver that the data from the input L222.StubTech_en (read in, filtered, output to get L222.DeleteStubTech_USAen) can't be overwritten. L222.StubTech_en is the only precursor to L222.DeleteStubTech_USAen and is defnitely an input, but including it for add_precursors causes the driver to error that some precursors for L222.DeleteStubTech_USAen are not inputs. \r\n\r\nSo now now, I've swapped L222.DeleteStubTech_USAen for an empty tibble  so that the driver can build and the other outputs can be checked (fine on my machine at least). \r\nOtherwise this chunk is ready for review.","created_at":"2017-11-13T18:26:44Z","updated_at":"2017-11-14T10:07:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dee08c8274230060fb56fb581279cfe76eb10aa0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gokuliyer","id":26484922,"avatar_url":"https://avatars0.githubusercontent.com/u/26484922?v=4","gravatar_id":"","url":"https://api.github.com/users/gokuliyer","html_url":"https://github.com/gokuliyer","followers_url":"https://api.github.com/users/gokuliyer/followers","following_url":"https://api.github.com/users/gokuliyer/following{/other_user}","gists_url":"https://api.github.com/users/gokuliyer/gists{/gist_id}","starred_url":"https://api.github.com/users/gokuliyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gokuliyer/subscriptions","organizations_url":"https://api.github.com/users/gokuliyer/orgs","repos_url":"https://api.github.com/users/gokuliyer/repos","events_url":"https://api.github.com/users/gokuliyer/events{/privacy}","received_events_url":"https://api.github.com/users/gokuliyer/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/JGCRI/gcamdata/pulls/825/commits","review_comments_url":"https://api.github.com/repos/JGCRI/gcamdata/pulls/825/comments","review_comment_url":"https://api.github.com/repos/JGCRI/gcamdata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JGCRI/gcamdata/issues/825/comments","statuses_url":"https://api.github.com/repos/JGCRI/gcamdata/statuses/907e968506e863be26c5e3a4dcdddeda5178fdd9","head":{"label":"JGCRI:snyder_l222.en_transformation_USA","ref":"snyder_l222.en_transformation_USA","sha":"907e968506e863be26c5e3a4dcdddeda5178fdd9","user":{"login":"JGCRI","id":8431983,"avatar_url":"https://avatars1.githubusercontent.com/u/8431983?v=4","gravatar_id":"","url":"https://api.github.com/users/JGCRI","html_url":"https://github.com/JGCRI","followers_url":"https://api.github.com/users/JGCRI/followers","following_url":"https://api.github.com/users/JGCRI/following{/other_user}","gists_url":"https://api.github.com/users/JGCRI/gists{/gist_id}","starred_url":"https://api.github.com/users/JGCRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGCRI/subscriptions","organizations_url":"https://api.github.com/users/JGCRI/orgs","repos_url":"https://api.github.com/users/JGCRI/repos","events_url":"https://api.github.com/users/JGCRI/events{/privacy}","received_events_url":"https://api.github.com/users/JGCRI/received_events","type":"Organization","site_admin":false},"repo":{"id":72801482,"name":"gcamdata","full_name":"JGCRI/gcamdata","owner":{"login":"JGCRI","id":8431983,"avatar_url":"https://avatars1.githubusercontent.com/u/8431983?v=4","gravatar_id":"","url":"https://api.github.com/users/JGCRI","html_url":"https://github.com/JGCRI","followers_url":"https://api.github.com/users/JGCRI/followers","following_url":"https://api.github.com/users/JGCRI/following{/other_user}","gists_url":"https://api.github.com/users/JGCRI/gists{/gist_id}","starred_url":"https://api.github.com/users/JGCRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGCRI/subscriptions","organizations_url":"https://api.github.com/users/JGCRI/orgs","repos_url":"https://api.github.com/users/JGCRI/repos","events_url":"https://api.github.com/users/JGCRI/events{/privacy}","received_events_url":"https://api.github.com/users/JGCRI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JGCRI/gcamdata","description":"GCAM data system rewrite","fork":false,"url":"https://api.github.com/repos/JGCRI/gcamdata","forks_url":"https://api.github.com/repos/JGCRI/gcamdata/forks","keys_url":"https://api.github.com/repos/JGCRI/gcamdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JGCRI/gcamdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JGCRI/gcamdata/teams","hooks_url":"https://api.github.com/repos/JGCRI/gcamdata/hooks","issue_events_url":"https://api.github.com/repos/JGCRI/gcamdata/issues/events{/number}","events_url":"https://api.github.com/repos/JGCRI/gcamdata/events","assignees_url":"https://api.github.com/repos/JGCRI/gcamdata/assignees{/user}","branches_url":"https://api.github.com/repos/JGCRI/gcamdata/branches{/branch}","tags_url":"https://api.github.com/repos/JGCRI/gcamdata/tags","blobs_url":"https://api.github.com/repos/JGCRI/gcamdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JGCRI/gcamdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JGCRI/gcamdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/JGCRI/gcamdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JGCRI/gcamdata/statuses/{sha}","languages_url":"https://api.github.com/repos/JGCRI/gcamdata/languages","stargazers_url":"https://api.github.com/repos/JGCRI/gcamdata/stargazers","contributors_url":"https://api.github.com/repos/JGCRI/gcamdata/contributors","subscribers_url":"https://api.github.com/repos/JGCRI/gcamdata/subscribers","subscription_url":"https://api.github.com/repos/JGCRI/gcamdata/subscription","commits_url":"https://api.github.com/repos/JGCRI/gcamdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/JGCRI/gcamdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/JGCRI/gcamdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/JGCRI/gcamdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/JGCRI/gcamdata/contents/{+path}","compare_url":"https://api.github.com/repos/JGCRI/gcamdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JGCRI/gcamdata/merges","archive_url":"https://api.github.com/repos/JGCRI/gcamdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JGCRI/gcamdata/downloads","issues_url":"https://api.github.com/repos/JGCRI/gcamdata/issues{/number}","pulls_url":"https://api.github.com/repos/JGCRI/gcamdata/pulls{/number}","milestones_url":"https://api.github.com/repos/JGCRI/gcamdata/milestones{/number}","notifications_url":"https://api.github.com/repos/JGCRI/gcamdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JGCRI/gcamdata/labels{/name}","releases_url":"https://api.github.com/repos/JGCRI/gcamdata/releases{/id}","deployments_url":"https://api.github.com/repos/JGCRI/gcamdata/deployments","created_at":"2016-11-04T01:09:57Z","updated_at":"2017-08-16T17:37:07Z","pushed_at":"2017-11-13T18:26:44Z","git_url":"git://github.com/JGCRI/gcamdata.git","ssh_url":"git@github.com:JGCRI/gcamdata.git","clone_url":"https://github.com/JGCRI/gcamdata.git","svn_url":"https://github.com/JGCRI/gcamdata","homepage":null,"size":421306,"stargazers_count":2,"watchers_count":2,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":117,"forks":0,"open_issues":117,"watchers":2,"default_branch":"master"}},"base":{"label":"JGCRI:master","ref":"master","sha":"d5dd9eeb65158ce0e7254f48ce2744226e822f99","user":{"login":"JGCRI","id":8431983,"avatar_url":"https://avatars1.githubusercontent.com/u/8431983?v=4","gravatar_id":"","url":"https://api.github.com/users/JGCRI","html_url":"https://github.com/JGCRI","followers_url":"https://api.github.com/users/JGCRI/followers","following_url":"https://api.github.com/users/JGCRI/following{/other_user}","gists_url":"https://api.github.com/users/JGCRI/gists{/gist_id}","starred_url":"https://api.github.com/users/JGCRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGCRI/subscriptions","organizations_url":"https://api.github.com/users/JGCRI/orgs","repos_url":"https://api.github.com/users/JGCRI/repos","events_url":"https://api.github.com/users/JGCRI/events{/privacy}","received_events_url":"https://api.github.com/users/JGCRI/received_events","type":"Organization","site_admin":false},"repo":{"id":72801482,"name":"gcamdata","full_name":"JGCRI/gcamdata","owner":{"login":"JGCRI","id":8431983,"avatar_url":"https://avatars1.githubusercontent.com/u/8431983?v=4","gravatar_id":"","url":"https://api.github.com/users/JGCRI","html_url":"https://github.com/JGCRI","followers_url":"https://api.github.com/users/JGCRI/followers","following_url":"https://api.github.com/users/JGCRI/following{/other_user}","gists_url":"https://api.github.com/users/JGCRI/gists{/gist_id}","starred_url":"https://api.github.com/users/JGCRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGCRI/subscriptions","organizations_url":"https://api.github.com/users/JGCRI/orgs","repos_url":"https://api.github.com/users/JGCRI/repos","events_url":"https://api.github.com/users/JGCRI/events{/privacy}","received_events_url":"https://api.github.com/users/JGCRI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JGCRI/gcamdata","description":"GCAM data system rewrite","fork":false,"url":"https://api.github.com/repos/JGCRI/gcamdata","forks_url":"https://api.github.com/repos/JGCRI/gcamdata/forks","keys_url":"https://api.github.com/repos/JGCRI/gcamdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JGCRI/gcamdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JGCRI/gcamdata/teams","hooks_url":"https://api.github.com/repos/JGCRI/gcamdata/hooks","issue_events_url":"https://api.github.com/repos/JGCRI/gcamdata/issues/events{/number}","events_url":"https://api.github.com/repos/JGCRI/gcamdata/events","assignees_url":"https://api.github.com/repos/JGCRI/gcamdata/assignees{/user}","branches_url":"https://api.github.com/repos/JGCRI/gcamdata/branches{/branch}","tags_url":"https://api.github.com/repos/JGCRI/gcamdata/tags","blobs_url":"https://api.github.com/repos/JGCRI/gcamdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JGCRI/gcamdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JGCRI/gcamdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/JGCRI/gcamdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JGCRI/gcamdata/statuses/{sha}","languages_url":"https://api.github.com/repos/JGCRI/gcamdata/languages","stargazers_url":"https://api.github.com/repos/JGCRI/gcamdata/stargazers","contributors_url":"https://api.github.com/repos/JGCRI/gcamdata/contributors","subscribers_url":"https://api.github.com/repos/JGCRI/gcamdata/subscribers","subscription_url":"https://api.github.com/repos/JGCRI/gcamdata/subscription","commits_url":"https://api.github.com/repos/JGCRI/gcamdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/JGCRI/gcamdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/JGCRI/gcamdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/JGCRI/gcamdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/JGCRI/gcamdata/contents/{+path}","compare_url":"https://api.github.com/repos/JGCRI/gcamdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JGCRI/gcamdata/merges","archive_url":"https://api.github.com/repos/JGCRI/gcamdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JGCRI/gcamdata/downloads","issues_url":"https://api.github.com/repos/JGCRI/gcamdata/issues{/number}","pulls_url":"https://api.github.com/repos/JGCRI/gcamdata/pulls{/number}","milestones_url":"https://api.github.com/repos/JGCRI/gcamdata/milestones{/number}","notifications_url":"https://api.github.com/repos/JGCRI/gcamdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JGCRI/gcamdata/labels{/name}","releases_url":"https://api.github.com/repos/JGCRI/gcamdata/releases{/id}","deployments_url":"https://api.github.com/repos/JGCRI/gcamdata/deployments","created_at":"2016-11-04T01:09:57Z","updated_at":"2017-08-16T17:37:07Z","pushed_at":"2017-11-13T18:26:44Z","git_url":"git://github.com/JGCRI/gcamdata.git","ssh_url":"git@github.com:JGCRI/gcamdata.git","clone_url":"https://github.com/JGCRI/gcamdata.git","svn_url":"https://github.com/JGCRI/gcamdata","homepage":null,"size":421306,"stargazers_count":2,"watchers_count":2,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":117,"forks":0,"open_issues":117,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JGCRI/gcamdata/pulls/825"},"html":{"href":"https://github.com/JGCRI/gcamdata/pull/825"},"issue":{"href":"https://api.github.com/repos/JGCRI/gcamdata/issues/825"},"comments":{"href":"https://api.github.com/repos/JGCRI/gcamdata/issues/825/comments"},"review_comments":{"href":"https://api.github.com/repos/JGCRI/gcamdata/pulls/825/comments"},"review_comment":{"href":"https://api.github.com/repos/JGCRI/gcamdata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JGCRI/gcamdata/pulls/825/commits"},"statuses":{"href":"https://api.github.com/repos/JGCRI/gcamdata/statuses/907e968506e863be26c5e3a4dcdddeda5178fdd9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bpbond"}}