View source: R/mermaid_search_my_projects.R
mermaid_search_my_projects | R Documentation |
Search within your 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. Requires authorization.
mermaid_search_my_projects(
name = NULL,
countries = NULL,
tags = NULL,
include_test_projects = FALSE,
limit = NULL,
token = mermaid_token()
)
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. |
token |
API token. Not required for unauthenticated endpoints. Get manually via |
## Not run:
mermaid_search_my_projects(tags = "WCS Indonesia")
mermaid_search_my_projects(countries = "Indonesia", tags = "Vibrant Oceans")
# The country (or tag) do not have to be exactly the same
# A project is returned if it *contains* the country/tag:
mermaid_search_my_projects(tags = "WCS", limit = 1)[["tags"]]
# [1] "WCS Indonesia; Vibrant Oceans"
# To search all projects (not just yours), use mermaid_search_projects():
mermaid_search_projects(countries = "Fiji")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.