add_date_restriction: adds date restriction to query

Description Usage Arguments Value Examples

View source: R/api.R

Description

adds date restriction to a object of type 'CONCEPT' or 'CONCEPT_QUERY'

Usage

1
add_date_restriction(query, start_date, end_date)

Arguments

query

that will get the date restriction

start_date

start date of date restriction in format: YYYY-MM-DD

end_date

end date of date restriction in format: YYYY-MM-DD

Value

query with date restriction

Examples

1
2
query = add_date_restriction(query,
                             start_date="2019-01-01", end_date="2019-12-31")

ingef/cqapiR documentation built on Dec. 20, 2021, 7:02 p.m.