# NOT RUN {
# Get records of type 'EEZ', then inspect data.frame
res <- mr_records_by_type(type="EEZ")
head(res)
# You can use mr_place_types() function to get types
## then pass those into this function
types <- mr_place_types()
mr_records_by_type(types$type[1])
mr_records_by_type(types$type[10])
# use regex to find a type name matching a pattern
x <- grep("MEOW", types$type, value = TRUE)
# then pass to the function
mr_records_by_type(x)
mr_records_by_type(x, offset = 100)
# }
Run the code above in your browser using DataLab