{"id":2964,"date":"2017-06-16T20:41:08","date_gmt":"2017-06-16T20:41:08","guid":{"rendered":"https:\/\/notebooks.dataone.org\/?p=2964"},"modified":"2017-06-23T21:07:25","modified_gmt":"2017-06-23T21:07:25","slug":"week-2-update-4","status":"publish","type":"post","link":"https:\/\/notebooks.dataone.org\/semantic-annotation\/week-2-update-4\/","title":{"rendered":"Week 2 – Update"},"content":{"rendered":"
This is second week for my internship. After I reviewed some useful materials last week, I have a better understanding about my project. According to the 9-week schedule, week 2-3 are mainly focus on design and planning the solution for project in detail, which including sketch out some possible ways to achieve the goals.<\/p>\n
So I started to discover possible solutions for my project by learning how to create a R extension. As the final goal is trying to publish RDF in Rstudio, an R extension(or Rstudio extension) should be one of the possible ways. However, after I browsed the official website for creating R extension, I found that creating a brand new R package start from scratch is quite trivial\u00a0for\u00a0a 9-week project. In addition, extending R core is not the same as extending RStudio. So after discussed with my mentor, I decided to base on the existed R extension \u201cstrcode\u201d to create the semantic markdown extension for my project.<\/p>\n
Based on the \u201cstrcode\u201d, I forked the semantics branch on Github and understood the logic of the scripts. I made some changes on this package which could let it automatically create break lines in R scripts which contain ProvONE names in it by using the \u201cinsert code break\u201d function in \u201cstrcode\u201d. After I have a better understanding of the \u201cstrcode\u201d and ProvONE, I think I could change it by myself, and add more useful functions into this extension.<\/p>\n
For the next week, I will try to get a better understanding of ProvONE, and try to improve the semantics in my scripts. In addition, as feasibility is another very important thing I need to pay attention, I will also think about how to summarize the semantics in these code and how to output them as RDF. Moreover, I will also try to find some alternative solutions besides R extension if it is possible.<\/p>\n","protected":false},"excerpt":{"rendered":"
This is second week for my internship. After I reviewed some useful materials last week, I have a better understanding about my project. According to the 9-week schedule, week 2-3 are mainly focus on design and planning the solution for project in detail, which including sketch out some possible ways Continue reading Week 2 – Update<\/span>