Skip to content

Instantly share code, notes, and snippets.

Avatar
🐝

Scott Chamberlain sckott

🐝
View GitHub Profile
View tides.R
x="https://tidesandcurrents.noaa.gov/api/datagetter?begin_date=20200730&end_date=20200804&station=8557380&product=predictions&datum=MLLW&units=metric&time_zone=lst_ldt&application=DRBC&format=csv"
f=tempfile(fileext = ".csv")
download.file(x, destfile = f)
readr::read_csv(f)
# A tibble: 1,440 x 2
`Date Time` Prediction
<dttm> <dbl>
1 2020-07-30 00:00:00 0.115
2 2020-07-30 00:06:00 0.123
View file1147106fe3af.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View filee70645494.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View file105932d377f8.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View file18e0779b7f6a.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View file495a31ee5cf1.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View file10e88a3182a.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View fileffbb83cafe.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View file119456337b3f.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View filee895c466f86.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.