tidygeo {tidygeoRSS} | R Documentation |
Extract a tidy data frame from geoRSS, geo-Atom and geoJSON feeds
Description
Extract a tidy data frame from geoRSS, geo-Atom and geoJSON feeds
Usage
tidygeo(
feed,
config = list(),
clean_tags = TRUE,
list = FALSE,
parse_dates = TRUE
)
Arguments
feed |
|
config |
Arguments passed off to |
clean_tags |
default |
list |
default |
parse_dates |
|
Value
A data frame of class "sf", "tbl_df", "tbl" and "data.frame".
Note
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.
Examples
## Not run: tidygeo("https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_hour.atom")