Displaying 20 results from an estimated 88 matches for "fieldnames".
Did you mean:
fieldname
2017 Jul 13
2
Help with R script
Dear R-help Group
Scenario 1:
I have a text file running to 1000 of lines...that
is like as follows:
[922] "FieldName: Wk3PackSubMonth"
[923] "FieldValue: Apr"
[924] "FieldName: Wk3PackSubYear"
[925] "FieldValue: 2017"
[926] "FieldName: Wk3Code1"
[927] "FieldValue: "
[928] "FieldValue: K4"
[929] "FieldName:
2017 Jul 13
0
Help with R script
Hi Vijayan,
one way going about it *could* be this:
library(dplyr)
library(tidyr)
library(purrr)
ex_dat <- c("FName: fname1", "Fval: Fval1.name1", "Fval: ", "FName:
fname2", "Fval: Fval2.name2", "FName: fname3")
data.frame(x = ex_dat) %>%
separate(x, c("F1", "F2"), sep = ": ") %>%
filter(F2
2017 Jul 13
2
Help with R script
Using Ulrik?s example data (and assuming I understand what is wanted), here is what I would do:
ex.dat <- c("FName: fname1", "Fval: Fval1.name1", "Fval: ", "FName: fname2", "Fval: Fval2.name2", "FName: fname3")
tst <- data.frame(x = ex.dat, stringsAsFactors=FALSE)
sp <- strsplit(tst$x, ':', fixed=TRUE)
chk <-
2017 Jul 14
0
Help with R script
@Don your solution does not solve Vijayan's scenario 2. I used spread and
gather for that.
An alternative solution to insert mising Fval - picking up with Don's
newtst - is
newtst <- c("FName: fname1", "Fval: Fval1.name1", "FName: fname2", "Fval:
Fval2.name2", "FName: fname3", "FName: fname4", "Fval: fval4.fname4")
2007 May 09
0
How can I specify the selected value in collection_select when fieldname different than variable?
Hi all,
I have a relatively simple scenario. I have a form that can have a
list of multiple phone objects in it. I''m trying to get the edit and
entry screens to work with unique field names. I have entry and
record creation working, but I''m still working on edit. Is it
possible for me to specify the value of the selected index to the
"collection_select" method via
2005 Sep 24
2
Asterisk returns 484 ADDRESS INCOMPLETE for incoming SIP calls
I'm new to asterisk and need some help with getting a SIP connection
working.
I am trying to establish a termination point/DID number in another
country. I am currently running Asterisk CVS-HEAD. My foreign provider
uses SIP and authenticates via IP address. I am not required to
register my SIP connection in order to send or receive calls.
Can someone help me with how to understand the
2006 Feb 23
3
Codec order sent wrong from Asterisk
I'm communicating a softphone (SJPhone) to a Grandstream phone GXP-2000.
The codec order on each one is the next:
SJPhone: GSM - iLBC - PCMA - PCMU
GXP2000: G729 - GSM - PCMA - PCMU
(I have a G729 license, so there's no problem with transcoding G729)
In my sip.conf, I've defined the following codec order:
disallow=all
allow=g729
allow=gsm
allow=g726
allow=alaw
allow=ulaw
And my
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
Modern distributions are moving toward a common boot scheme called "The Boot
Loader Specification". This patch enables syslinux to parse the drop-in files
that are defined by this new specification.
Link to documentation of the options added to syslinux by this patch:
https://drive.google.com/uc?export=download&id=1nuRISVJeE1whYggFURywoQFpPzc6s1MC
MD5 (syslinux-bls1.txt) =
2006 Jul 02
7
How can I intercept attribute calls?
Hi.
I have two types of fields in my database, e.g. "name" and "name_ru".
First one is a user''s name in english and the second one is in russian.
I want to intercept calls like "c.name" and add "_ru" to it if current
language is russian (I have my own Locale class like n Globalize).
So I want such thing:
--
Locale.set("en-US")
c.name
2006 Feb 06
0
Sorting records from multiple tables, on different fieldnames
...'s known as an "unforeseen requirement", otherwise known
as the "Actually, you know what *would* be great, and we *should* have
requested this up front..." request. Grrr!
Is there a reasonably elegant Rails-ish or Ruby-ish way to do this
(bearing in mind the different date fieldnames in each table), or
should I resort to something like:
@eventsA = A.find(:all)
@eventsB = B.find(:all)
@eventsC = C.find(:all)
@events_all = @eventsA.push(@eventsB).push(@eventsC)
@events_all.each do
|event|
try
# See if the datedue field exists in this record; rescue if not...
if event...
2006 Jan 03
3
Global functions and variables.
Hey People,
I''m fairly new to Rails and have perhaps an obvious question. I would like
to know if there is a place that I can declare variables and methods that
are globally available to all controllers. My main reason for this is I like
to auto generate select boxes based off of the contents of a hash and would
like to be able to do this in all views in all controllers, so that I do not
2007 Jan 11
5
stop words in query
Hello all,
Quick question, I''m using AAF and the following custom analyzer:
class StemmedAnalyzer < Ferret::Analysis::Analyzer
include Ferret::Analysis
def initialize(stop_words = ENGLISH_STOP_WORDS)
@stop_words = stop_words
end
def token_stream(field, str)
StemFilter.new(StopFilter.new(LowerCaseFilter.new(StandardTokenizer.new(str)),
@stop_words))
end
However when
2004 May 10
3
sqlSave with underscores in table fieldname
Hi group,
I try to write a frame to a table (RODBC). I use
colnames(temp6) <- c("ind_id","ser_id","period_id","year","calc","mean")
sqlSave(channel, temp6, tablename = "series_indices_test",append= TRUE, rownames=FALSE, verbose = FALSE, test = FALSE, nastring = -999999, fast = FALSE)
This is giving me an error:
Error in
2015 Feb 11
2
[RFC 0/2] virtio_pci: patches never to apply.
This should allow testing when QEMU gets VIRTIO_PCI_CAP_PCI_CFG support,
but I'm pretty sure we should never allow these patches upstream.
Tested with lguest (in virtio-next), which supports VIRTIO_PCI_CAP_PCI_CFG.
Rusty Russell (2):
virtio_pci: abstract all MMIO accesses.
virtio: Introducing virtio_pci.no_mmio, the worst boot option in
history.
drivers/virtio/virtio_pci_common.c |
2015 Feb 11
2
[RFC 0/2] virtio_pci: patches never to apply.
This should allow testing when QEMU gets VIRTIO_PCI_CAP_PCI_CFG support,
but I'm pretty sure we should never allow these patches upstream.
Tested with lguest (in virtio-next), which supports VIRTIO_PCI_CAP_PCI_CFG.
Rusty Russell (2):
virtio_pci: abstract all MMIO accesses.
virtio: Introducing virtio_pci.no_mmio, the worst boot option in
history.
drivers/virtio/virtio_pci_common.c |
2006 Jun 12
2
conditional validation
Hi how can I validate a field only if another field is set to a specific value?
I tried to use
validates_length_of :fieldname, :maximum => 100, :if =>
:otherfieldname == ''myvalue''
But doesn''t work
Thanks
Paolo
2013 Jan 29
2
converting XML document to table or dataframe
...ument to a list.
I am "stuck" trying to convert the document into a "2-dimenional" table or
dataframe.
What is a "good" way to convert the XML document to a 2-dimensional table
or data.frame? Ideally, I'd like a table with 1 row for each XML document,
and unique fieldnames. If fieldnames repeat, I'd like the names to be
numbered sequentially
e.g.
$nonDerivativeTable$nonDerivativeTransaction$transactionAmounts$transactionPricePerShare$value_1
$nonDerivativeTable$nonDerivativeTransaction$transactionAmounts$transactionPricePerShare$value_2
$nonDerivativeTable$nonD...
2008 Dec 10
1
Oddness with fieldnames containing an underscore
Hi all,
I''m not sure if this is a cucumber or webrat thing given that I only
starting tinkering with both last night for the first time (testing
newb as well), but I''ve come across an oddity when trying to write a
scenario to create a user.
Scenario: Register new user
Given I am on the new user page
And I fill in "login" with "fredf"
2005 Nov 10
4
write.table read.table with Dates
...everal files, now I want to store the result I have
in data.frame Tall and be able to retrieve this quickly some other time.
This is what I do:
write.table(Tall, file="somefile.csv", sep=",", qmethod="double",
row.names=FALSE)
Later, I do this to read the file again:
fieldnames=c("Begin","test-a","test-b","Eind")
T=read.table(file = "somefile.csv", col.names = fieldnames,
header = TRUE, sep = ",", quote="\"", fill=FALSE)
I understand T$Begin now is a factor. I tried to simply convert it
again us...
2009 Sep 30
2
C++ parser for doc.get_data() result.
Xapians!
Did anybody wrote and would like to share a routines that parse result
from doc.get_data() into some key and pair values in C++ ?
Code:
Xapian::Document doc = i.get_document();
string data = doc.get_data();
mymap = parse_result(data);
As you know the data string contain all the data within the document
delimited by "=" sign and "\n" new line and needs to be parse