Skip to content

Commit

Permalink
i #317 Table Merge Fix
Browse files Browse the repository at this point in the history
- Incorrect table was being merged, fixed in notebook.
  • Loading branch information
beydlern committed Dec 9, 2024
1 parent 7f50b7e commit fed9121
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vignettes/openhub_project_search.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ gt(project_links)
We combine the portfolio_projects and project data tables into one data table, `openhub_combined_projects`, by performing an inner-join by "name" column. We add an additional filter, unique by "id" column, to ensure no duplication due to the projects endpoint possibly returning duplicated project items from the OpenHub API's collection request query command.

```{r, eval = FALSE}
openhub_combined_projects <- unique(merge(openhub_projects, openhub_portfolio_projects, by = "name", all = FALSE), by = "id")
openhub_combined_projects <- unique(merge(project_data, openhub_portfolio_projects, by = "name", all = FALSE), by = "id")
gt(openhub_combined_projects)
```

Expand Down Expand Up @@ -208,7 +208,6 @@ With the analysis API response (only one page), we may parse this response with
```{r, eval = FALSE}
analyses_api_requests <- openhub_retrieve(analysis_folder_path)
openhub_analyses <- openhub_parse_analyses(analyses_api_requests)
#openhub_analyses <- unique(openhub_analyses, by = "id")
gt(openhub_analyses)
```

Expand Down

0 comments on commit fed9121

Please sign in to comment.