You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not clear if this should be handled in something called dod.section() or dod.ctd(). I think the latter, actually (despite the subject line) but I'm not sure. Anyway if you go to the second link and click on things you'll maybe discover the pattern. I think it is basically like below.
dod.section<- (program...)
{
if (program="cchdo") {
server<-"https://cchdo.ucsd.edu/data"code<-"22008"# not sure what to call thissection<-"a22"year<-"2021"filename<- paste0(section, "_", year, "_ct.zip")
url<- paste0(server, "/", code, "/", file)
download.dod() # use url and filename here
}
}
or something like that.
I don't actually know whether this should be dod.section() or dod.ctd(). Maybe the latter because that's what the data actually are. As for the program name, I don't know a good answer for that. Maybe like I have above.
Pretty much every year at this time I scour the web looking for sources of section data. I think the URLs change quite frequently, which is a pain. Having this handled by dod would be very time-saving because it's boring doing the same search over and over!
The text was updated successfully, but these errors were encountered:
PS: annoyingly, that website doesn't seem to have an index. But, no matter, the docs for our dod code could just tell folks to go to the site to discover the codename etc by clicking around.
I've been working this afternoon with section data (collections of CTD files) that I got from
https://cchdo.ucsd.edu/data/22008/a22_2021_ct1.zip
which is a link I got to from
https://cchdo.ucsd.edu/products/goship-easyocean
I am not clear if this should be handled in something called
dod.section()
ordod.ctd()
. I think the latter, actually (despite the subject line) but I'm not sure. Anyway if you go to the second link and click on things you'll maybe discover the pattern. I think it is basically like below.or something like that.
I don't actually know whether this should be
dod.section()
ordod.ctd()
. Maybe the latter because that's what the data actually are. As for the program name, I don't know a good answer for that. Maybe like I have above.Pretty much every year at this time I scour the web looking for sources of section data. I think the URLs change quite frequently, which is a pain. Having this handled by
dod
would be very time-saving because it's boring doing the same search over and over!The text was updated successfully, but these errors were encountered: