Questions tagged [read-data]

130 questions
0
votes
1 answer

multiple time series using ts () function wrong data

i have a monthly time series data containing 528 rows and i use ts()function as follows oilfulldata <- ts(data$logOil, start = c(1976,01), end = c(2019,12), frequency = 12 ) this function is working proberly and i get the values stored in…
0
votes
0 answers

How to correctly read many .txt files and store them in a user-defined structure in Fortran?

I often use an user-defined data type to read data from a .txt file and so that to store them in a structure. Now I've to face the problem to read many .txt files (i.e. 50) and each of them contains 200 rows. File names differ only by a number:…
0
votes
0 answers

c# mongodb read object field and show as null

Im currently working on a project with c# and mongodb. I'm trying to insert and read data. The insert operation works as expected. But when I read, the value of a field is converted to null. Data from database: When I use c# to read data it…
0
votes
1 answer

How read the exact number of decimal digits with readtable from a .csv file?

I want to read a .csv file containing numbers with many digits by using the function readtable. Then I need to filter some rows and export the table to a .txt file. I manage to perform this task but the exported file contains numbers with less…
g_don
  • 195
  • 1
  • 9
0
votes
1 answer

How to read a huge directory of HDF5 files directly from a URL to Python?

I have a dataset that is 1.2 TB. It is a directory of several folders and is nested in a URL. The directory looks like the image below (Li et al. 2021 - a synthetic building operation dataset). No matter how I request to get data with urllib, the…
salimora
  • 13
  • 4
0
votes
1 answer

reading a .DAT file with HEX delimiter in talend

I have a requirement where a .DAT file with data delimited with a HEX code needs to be read in talend. Below is the sample data - I have tried tfileinputdelimited, tfileinputpositional, tfileinputraw but nothing worked as expected. The delimiter is…
Ankush Rathi
  • 622
  • 1
  • 6
  • 26
0
votes
1 answer

How do I read cell value from Excel sheet based on the cell attribute (keyword) using Apache POI integration for Selenium

Example of Excel Data I need to read the above Example Data using cell reference attribute (highlighted in blue) The table in the sheet is maintained in column order. For example, if the table is something…
Sibasish Ronaldo
  • 29
  • 1
  • 1
  • 7
0
votes
1 answer

python: create a directory in another directory

I have a directory as follows: my_dir |__data | | | light_colors.csv |__code |__data_reader.py I would like to create a directory in data directory, where i can save the output of the data_reader.py file. output : my_dir …
zara kolagar
  • 881
  • 3
  • 15
0
votes
1 answer

How to read a text file whose variables are not stored on the same row, and that lacks a standard delimiter from column to column, into R?

I am trying to read a text file (https://www.bls.gov/bdm/us_age_naics_00_table5.txt) into R, but I am not sure how to go about parsing it. As you can see, the column names (years) are not located all on the same row, and the space between data is…
0
votes
1 answer

Read data from csv (pandas)

I have two…
0
votes
0 answers

ggplot2 code runs and updates plot but no I see a bunch of numbers instead of data

I used the same code to plot my data last week, and got it all right. I updated the data with new rows, so this is the only thing I changed, but then ggplot does not plot the data but a bunch of numbers as shown in the pictures I attached. I'm sure…
0
votes
1 answer

R: Issues when pulling values from a nested list into a dataframe

so this should be a relatively easy question on pulling items in a list into a dataframe, but I'm stuck on something. I have the following list (I'm showing just part of the list for you, it's far longer than this): str(raw_jobs_list) List of 2 $…
kodikai
  • 374
  • 1
  • 10
0
votes
1 answer

Problems reading an .rdb file in R

I am trying to read an .rdb file to collect the R codes contained in it. However, when using the following code the following error appears, see: > lazyLoad(filebase="treeTaper",envir=parent.frame()) NULL > The message seems to warn that there are…
user55546
  • 37
  • 1
  • 15
0
votes
1 answer

How to read multiple JSON objects in a single file?

I want to read multiple JSON objects from a single file imported from local dir. So far this is my simple work: Data: [{ "uuid": "6f476e26", "created": "2018-09-26T06:57:04.142232", "creator": "admin" }, { "uuid": "11d1e78a", …
swm
  • 519
  • 1
  • 4
  • 20
0
votes
3 answers

How read data from file that is separated by a blank line in Java

For example I have a file "input.txt" : This is the first data This is the second data This is the last data on the last line And I want to store this data in a ArrayList in this form: [This is the first data, This is the second data, This is the…
1 2 3
8 9