pubmed-search step

Documents are imported from PubMed using the PubMed search step. The step follows this format:

- uses: github:insilica/srvc-pubmed-search
  query: "your search terms"

The step requires a query property to specify the search terms. All documents that match the query will be imported. For example, this flow uses a query that matches PubMed articles containing the words “angry bees”:

reviewer: mailto:user@example.com

flows:
  import-pubmed:
    steps:
      - uses: github:insilica/srvc-pubmed-search
        query: angry bees

Advanced queries

Advanced queries can be created in the PubMed Advanced Search Builder. Build a query in the Builder, and copy the text of the “Query box” into the step’s query property. A query that matches articles with both “angry bees” and “brain” looks like this:

reviewer: mailto:user@example.com

flows:
  import-pubmed:
    steps:
      - uses: github:insilica/srvc-pubmed-search
        query: (angry bees) AND (brain)