mindat_get_data_from_uri {OpenMindat}R Documentation

mindat_get_data_from_uri

Description

retrieve data from the uri.

Usage

mindat_get_data_from_uri (uri)

Arguments

uri

request uri

Value

df. R data frame of the request uri.

Examples

## Not run: 
library(httr)
uri <- "https://api.mindat.org/geomaterials/?id__in=&hardness_min=9.3&fields=name,+
hardness&page_size=1500"
mindat_cache_set('api_token',"9ce67655d74bcd981e937be80dcea9cb")
df <- mindat_get_data_from_uri(uri)

## End(Not run)

[Package OpenMindat version 1.0.0 Index]