execute_gov_query: Execute Gov Query

Description Usage Arguments Details Value Examples

View source: R/search_api_funs.r

Description

A function which takes urls made using 'build_gov_query', executes the resulting query, then formats the result as a dataframe

Usage

1
execute_gov_query(query_url)

Arguments

query_url

A query url built by build_gov_query

Details

Note - this will result in some columns which have 0 length vectors in some of the rows, where the page does not have that attribute These can be hard to work with - you can filter them out using something like: dplyr::filter(purrr::map(<your-col-name>, is.list) == TRUE)

Value

a dataframe of query results

Examples

1

mattmalcher/gov.uk.taxonomy documentation built on Jan. 25, 2020, 12:45 a.m.