if (FALSE) {
  # single entry
  osg_parse(grid_refs = "TQ722213")
  # multiple entries
  osg_parse(grid_refs = c("SN831869","SN829838"))
  # multiple entries with missing values, NA will be returned
  osg_parse(grid_refs = c("SN831869",NA, "SN829838", NA))
}
Run the code above in your browser using DataLab