fs_cat_to_id function

Helper function that matches string categories to id's

Helper function that matches string categories to id's

fs_cat_to_id(category_id)

Arguments

  • category_id: Must be a valid category string, regardless of case

Returns

a vector of integers corresponding to valid figshare categories

References

https://docs.figshare.com

Author(s)

Edmund Hart edmund.m.hart@gmail.com