if (FALSE) {
# search metadata on all datasets and return a sample
dataset_search()
# dataset_export() # download info on all +90K datasets
dataset_search(publishingCountry = "US")
dataset_search(type = "OCCURRENCE")
dataset_search(keyword = "bird")
dataset_search(subtype = "TAXONOMIC_AUTHORITY")
dataset_search(license = "CC0_1_0")
dataset_search(query = "frog")
dataset_search(publishingCountry = "UA")
dataset_search(publishingOrg = "e2e717bf-551a-4917-bdc9-4fa0f342c530")
dataset_search(hostingOrg = "7ce8aef0-9e92-11dc-8738-b8a03c50a862")
dataset_search(decade="1890,1990",limit=5)
dataset_search(projectId = "GRIIS")
dataset_search(hostingCountry = "NO")
dataset_search(networkKey = "99d66b6c-9087-452f-a9d4-f15f2c2d0e7e")
dataset_search(doi='10.15468/aomfnb')
# search multiple values
dataset_search(projectId = "GRIIS;BID-AF2020-140-REG")
dataset_search(hostingCountry = "NO;SE")
dataset_search(doi="10.15468/aomfnb;10.15468/igasai")
# multiple filters
dataset_search(license = "CC0_1_0",subtype = "TAXONOMIC_AUTHORITY")
# dataset_export(license = "CC0_1_0",subtype = "TAXONOMIC_AUTHORITY")
# using dataset export to get all datasets
dataset_export(decade="1800,1900")
dataset_export(projectId="GRIIS")
# get simple group by counts
dataset_search(facet="type",limit=0,facetLimit=5)$facets
dataset_search(facet="publishingCountry",limit=0,facetLimit=5)$facets
dataset_search(facet="license",limit=0,facetLimit=5, facetMincount=10000)
}
Run the code above in your browser using DataLab