Extract the country names from Pubmed affiliations and visualize the extent of worldwide collaborations among researchers. For this, you need to have R and RStudio installed on your computer and an XML file created from Pubmed.
- Go to Pubmed
- Type the text in search bar and press Search button
- In the results page, click Send to and then choose File and Format as XML. Click on Create File and choose the destination to save the XML file.
-
Open the PubmedAffiliationsProject folder and double click PubmedAffiliationsProject.Rproj file. It will open RStudio.
-
In the files pane of RStudio, click the script file PubmedAffiliations.R. Select entire script and press Run.
-
You will be asked for the location of XML file. Please select the location and press OK.
-
Once the extraction is done, you will be prompted that the output will be saved as output.csv in the PubmedAffiliationsProject folder.
-
Press OK and then open the output.csv file to see the results.
-
Work in progress to visualize the data in the form of maps.
-
Please revisit the repository in few days.
- Sunil Kumar Veeravalli veeravallisunil@gmail.com
© Sunil Kumar Veeravalli