View source: R/mermaid_search_projects.R
mermaid_search_projects | R Documentation |
Search all MERMAID projects by project name, country, or tags. Returns metadata on project, including ID, name, countries, number of sites, tags, notes, status, data sharing policies, and when the project was created and last updated.
mermaid_search_projects(
name = NULL,
countries = NULL,
tags = NULL,
include_test_projects = FALSE,
limit = NULL
)
name |
Project name |
countries |
Project country. Projects are returned if the |
tags |
Project tags. Projects are returned if the |
include_test_projects |
Whether to include test projects. Defaults to FALSE. |
limit |
Number of records to get. Use NULL (the default) to get all records. |
## Not run:
mermaid_search_projects(tags = "WCS Fiji")
mermaid_search_projects(countries = "Fiji", tags = "WWF-UK")
# The countries (or tags) do not have to be exactly the same
# A project is returned if it *contains* the countries/tags:
mermaid_search_projects(countries = "Tanzania", limit = 1)[["countries"]]
# To search within your projects only, use mermaid_search_my_projects():
mermaid_search_my_projects(countries = "Fiji")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.