oc_browse: Browse the Open Context archeological database

View source: R/oc_browse.R

oc_browseR Documentation

Browse the Open Context archeological database

Description

This function returns a data frame of certain types of top level data from Open Context. You can get either a data frame of countries for which Open Context has data, project names that have data on Open Context, or a list of descriptions (Common Standards) of data attributes that are widely used in Open Context datasets.

Usage

oc_browse(type = c("countries", "projects", "descriptions"),
  print_url = FALSE, ...)

Arguments

type

The kind of to be returned. You can chose either 'countries' to get a data frame of names of countries that have Open Context datasets, or 'projects' to get a data frame project names, or 'descriptions' to get a data frame of data attributes that are widely used in Open Context data sets.

print_url

Whether or not to display a message with the URL of the query. You can navigate to this URL to see the web interface's version of the data returned by the API.

...

Additional arguments passed to GET.

Value

A data frame with additional class oc_dataframe.

Examples

oc_browse("countries")
oc_browse("projects")

ropensci/opencontext documentation built on June 11, 2022, 9:32 p.m.