Get Content of API Response
get_response_content.Rd
Helper function for response_content parameter == TRUE. Returns decoded content of query respone. Limited to 20 fields.
Arguments
- search_expr
A string following the querying guidelines at https://clinicaltrials.gov/api/gui/ref/syntax and https://clinicaltrials.gov/api/gui/ref/expr
- fields
A character vector with field names. All field names available at https://clinicaltrials.gov/api/info/study_fields_list?fmt=JSON, with "all_fields", or with "get_vector_all_study_fields()"
- max_studies
A number indicating how many studies of all the ones that match the search expression will be returned.