Comments (2)
We can use code like the following to check date stamp on the server:
library(curl)
library(stringr)
con <- curl("ftp://ftp.epchc.org/EPC_ERM_FTP/WQM_Reports/")
dat <- readLines(con)
close(con)
dat
returns the following so still need to parse line 7 to check current file with file.info()
:
[1] "06-08-17 08:38AM 58625 2017StationListParametersSampled.xlsx"
[2] "02-04-19 12:15PM <DIR> 2018"
[3] "06-11-19 01:15PM <DIR> 2019"
[4] "06-11-19 07:55AM 8475361 Backup of PlanktonDataList_ThroughCurrentReportMonth.xlk"
[5] "01-31-19 12:15PM <DIR> Maps"
[6] "06-11-19 07:59AM 8475416 PlanktonDataList_ThroughCurrentReportMonth.xlsx"
[7] "06-11-19 12:44PM 24401100 RWMDataSpreadsheet_ThroughCurrentReportMonth.xlsx"
[8] "01-08-19 09:30AM 51776 RWMPreliminaryData-Nov-Dec2018.xlsx"
[9] "02-05-19 09:15AM <DIR> StationListsWithDescriptions"
[10] "08-10-16 10:52AM 39800639 Surface Water Quality 2001-2010_Final.pdf"
[11] "08-27-07 09:48AM 51211894 Surface Water Quality HC 98-00.pdf"
[12] "01-09-18 02:41PM 102400 Thumbs.db"
from tbeptools.
854ca79 Added a separate read_chkdate()
function, used internally within get_epchc_wq()
from tbeptools.
Related Issues (20)
- show_transectmatrix needs a neutral color scheme HOT 4
- Include code examples? HOT 1
- Develop function to provide salinity means for bay segments HOT 1
- add tests and vignettes for show_tldcrkradar HOT 2
- Updates to creeks dashboard
- [JOSS Review] Clarify statement of need in README and in paper HOT 1
- [JOSS Review] Widen the scope of literature review in paper
- [JOSS Review] Testing on MacOS? HOT 1
- [JOSS Review] Add brief example usage to the paper
- [JOSS Review] Consider more verbose function names HOT 1
- Add optical parameters to read_formwq.R output HOT 1
- Update any EPC links with new ones
- verify some calcs on `anlz_sedimentpel` HOT 2
- Add options for output of summaries for groups of sediment contaminants
- Add function to calculate Al ratio plot for sediment contaminants
- Remove mapview dependency
- Add legend to `show_fibmap()`
- Better error handling for `anlz_fibcat()` and `show_fibmap()`
- Add EPC benthic hex layer as data object HOT 1
- Make `read_importwqp()` more generic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tbeptools.