Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
fixed lines too long in 2 fxns
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Mar 14, 2014
1 parent 6a180e8 commit 12acb0e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion R/solr_group.r
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
#' sort='score asc', group.sort='alm_twitterCount desc', base=url)
#'
#' # Two group.field values
#' out <- solr_group(q='ecology', group.field=c('journal','article_type'), group.limit=3, fl='id', base=url, raw=TRUE)
#' out <- solr_group(q='ecology', group.field=c('journal','article_type'), group.limit=3, fl='id',
#' base=url, raw=TRUE)
#' solr_parse(out)
#' solr_parse(out, 'df')
#'
Expand Down
3 changes: 2 additions & 1 deletion R/solr_search.r
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
#'
#' # Parse data, using the USGS BISON API
#' url <- "http://bisonapi.usgs.ornl.gov/solr/occurrences/select"
#' out <- solr_search(q='*:*', fl=c('scientificName','decimalLatitude','decimalLongitude'), base=url, raw=TRUE)
#' out <- solr_search(q='*:*', fl=c('scientificName','decimalLatitude','decimalLongitude'),
#' base=url, raw=TRUE)
#' solr_parse(out, 'df')
#' ## gives the same result
#' solr_search(q='*:*', fl=c('scientificName','decimalLatitude','decimalLongitude'), base=url)
Expand Down
3 changes: 2 additions & 1 deletion man/solr_group.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ solr_group(q='ecology', group.field='journal', group.limit=3, fl=c('id','score',
sort='score asc', group.sort='alm_twitterCount desc', base=url)

# Two group.field values
out <- solr_group(q='ecology', group.field=c('journal','article_type'), group.limit=3, fl='id', base=url, raw=TRUE)
out <- solr_group(q='ecology', group.field=c('journal','article_type'), group.limit=3, fl='id',
base=url, raw=TRUE)
solr_parse(out)
solr_parse(out, 'df')

Expand Down
3 changes: 2 additions & 1 deletion man/solr_search.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ solr_search(q='title:"cell"^1.5 AND abstract:"science"', fl='title', rows=3,
# Parse data, using the USGS BISON API
url <- "http://bisonapi.usgs.ornl.gov/solr/occurrences/select"
out <- solr_search(q='*:*', fl=c('scientificName','decimalLatitude','decimalLongitude'), base=url, raw=TRUE)
out <- solr_search(q='*:*', fl=c('scientificName','decimalLatitude','decimalLongitude'),
base=url, raw=TRUE)
solr_parse(out, 'df')
## gives the same result
solr_search(q='*:*', fl=c('scientificName','decimalLatitude','decimalLongitude'), base=url)
Expand Down

0 comments on commit 12acb0e

Please sign in to comment.