Skip to content

Commented out second query method, changed orcid substring length, partial fix for shiny x-axis issue#35

Open
1catherinem wants to merge 5 commits intocrkn-rcdr:mainfrom
1catherinem:main
Open

Commented out second query method, changed orcid substring length, partial fix for shiny x-axis issue#35
1catherinem wants to merge 5 commits intocrkn-rcdr:mainfrom
1catherinem:main

Conversation

@1catherinem
Copy link

@1catherinem 1catherinem commented Nov 4, 2025

For issue #33 . To maintain consistency within the file (line 289 has the second method commented out by default), maintain ease of use, and to prevent overriding of user data in my_query with the Temple University example data, I have commented out the second (complex) query method on line 191. This should make it so that a user can run the entire R script file once they've defined their organizational variables at the top and not get any errors as the script attempts to use data organization functions on an empty dataframe.

For issue #34 , added fixedrange=TRUE to the Plotly graph code in the Shiny app, this prevents the graph from showing or being moved anywhere outside its defined range, but Pull request #39 (Autorange=TRUE) is a better solution. I've updated the file in my pull request to reflect this better solution and to not cause any merge conflicts between these two solutions.

For issue #36 , in the code, Orcid co-author IDs were taken as a subset from a longer string. The length of this subset included a slash (/) at the beginning of the ID number, which prevented the Orcid IDs from being 'read' and generating location data in the output spreadsheet. I changed the the start point of the string subset from 18 characters in, to 19 characters in. This allows location data to be populated for co-authors currently employed at a university institution who have an Orcid account.

fixedrange=TRUE makes it so that the X-axis cannot be expanded past its defined range (I.e. go to -1), and so the user cannot pan/zoom to an undefined part of the range.
This will allow coauthors who are currently employed by another university and who have an Orcid account to have location data populated!
@1catherinem 1catherinem changed the title #33 - commented out second query method Commented out second query method, changed orcid substring length, partial fix for shiny x-axis issue Nov 13, 2025
I changed this so that if pull request crkn-rcdr#39 is merged into main, my pull request will not conflict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant