Created
March 24, 2022 12:08
-
-
Save SwampThingPaul/d4540240496ab1f8ae3ff44567ed59ec to your computer and use it in GitHub Desktop.
Learning Julia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DelimitedFiles | |
using DataFrames | |
# HTML Path for data | |
dat_path="http://recondata.sccf.org/cgi-data/nph-data.cgi?x=utc_date&y=salinity,temperature&min_date=20210101&max_date=20220301&node=11&data_format=text" | |
# Just to read the data as a tab delimited file | |
recon_data=readdlm(download(dat_path),'\t',skipstart=1,header=true) | |
## From what I can find on how to change the file | |
# read delim file | |
recon_data,head=readdlm(download(dat_path),'\t',skipstart=1,header=true) | |
# change file into a dataframe | |
recon_data=DataFrame(recon_data,vec(head)) | |
# end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment