Title: | Tidy GeoRSS |
---|---|
Description: | In order to easily integrate geoRSS data into analysis, 'tidygeoRSS' parses 'geo' feeds and returns tidy simple features data frames. |
Authors: | Robert Myles McDonnell |
Maintainer: | Robert Myles McDonnell <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.1 |
Built: | 2025-03-03 03:18:03 UTC |
Source: | https://github.com/robertmyles/tidygeorss |
Extract a tidy data frame from geoRSS, geo-Atom and geoJSON feeds
tidygeo( feed, config = list(), clean_tags = TRUE, list = FALSE, parse_dates = TRUE )
tidygeo( feed, config = list(), clean_tags = TRUE, list = FALSE, parse_dates = TRUE )
feed |
|
config |
Arguments passed off to |
clean_tags |
default |
list |
default |
parse_dates |
|
A data frame of class "sf", "tbl_df", "tbl" and "data.frame".
tidygeo()
attempts to parse columns that should contain
dates. This can fail, as can be seen in tidyRSS
here. If you need
lower-level control over the parsing of dates, it's better to leave
parse_dates
equal to FALSE
and then parse these yourself.
## Not run: tidygeo("https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_hour.atom")
## Not run: tidygeo("https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_hour.atom")